-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions to automatically update documentation 🐛
Signed-off-by: miguelgfierro <[email protected]>
- Loading branch information
1 parent
5a221df
commit b3217f8
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,10 +43,18 @@ jobs: | |
- name: Copy built documentation | ||
run: cp -r docs/_build/html/* . | ||
|
||
- name: Add and commit changes | ||
# - name: Add and commit changes | ||
# run: | | ||
# git add * -f | ||
# git commit -m "Update documentation" | ||
|
||
# - name: Push changes to gh-pages | ||
# run: git push origin gh-pages | ||
|
||
- name: Deploy documentation | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "GitHub Actions" | ||
git add * -f | ||
git commit -m "Update documentation" | ||
- name: Push changes to gh-pages | ||
run: git push origin gh-pages | ||
git push origin HEAD:gh-pages |