From 8b3dd15060dffa8cfe9b8eb6b8251c5a9bfb8c8e Mon Sep 17 00:00:00 2001 From: Jack Greisman Date: Sat, 11 Apr 2020 12:11:56 -0400 Subject: [PATCH] Update documentation.yml to auto add all changes to new commit --- .github/workflows/documentation.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index f25f7e45..35dc9877 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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 @@ -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