Skip to content

Commit

Permalink
Update documentation.yml to auto add all changes to new commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGreisman committed Apr 11, 2020
1 parent 697ad59 commit 8b3dd15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
run: |
pip install sphinx sphinx_rtd_theme nbsphinx ipython jupyter
cd docs
make clean
make html
- name: Commit documentation changes to gh-pages
Expand All @@ -44,7 +45,8 @@ jobs:
cp -r ../_build/html/* .
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Upload documentation from latest commit" -a
git add .
git commit -m "Upload documentation from latest commit"
- name: Push changes to gh-pages
uses: ad-m/github-push-action@master
Expand Down

0 comments on commit 8b3dd15

Please sign in to comment.