Skip to content

Commit 51bb0fe

Browse files
author
Jordy Thielen
committed
update documentation.yml
1 parent 2c16267 commit 51bb0fe

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/documentation.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ jobs:
2525
make html
2626
2727
- name: Commit documentation changes
28-
run: |
29-
git clone https://github.com/thijor/pyntbci.git --branch gh-pages --single-branch gh-pages
30-
cp -r doc/_build/html/* gh-pages/
31-
cd gh-pages
32-
touch .nojekyll
33-
git config --local user.email "action@github.com"
34-
git config --local user.name "GitHub Action"
35-
git add .
36-
git commit -m "Update documentation" -a || true
28+
run: |
29+
git clone https://github.com/thijor/pyntbci.git --branch gh-pages --single-branch gh-pages
30+
cp -r doc/_build/html/* gh-pages/
31+
cd gh-pages
32+
touch .nojekyll
33+
git config --local user.email "action@github.com"
34+
git config --local user.name "GitHub Action"
35+
git add .
36+
git commit -m "Update documentation" -a || true
3737
3838
- name: Push changes
39-
uses: ad-m/github-push-action@master
40-
with:
41-
branch: gh-pages
42-
directory: gh-pages
43-
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
uses: ad-m/github-push-action@master
40+
with:
41+
branch: gh-pages
42+
directory: gh-pages
43+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)