Skip to content

Commit

Permalink
actions to automatically update documentation 🐛
Browse files Browse the repository at this point in the history
Signed-off-by: miguelgfierro <[email protected]>
  • Loading branch information
miguelgfierro committed Jan 4, 2024
1 parent 5a221df commit b3217f8
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/update_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b3217f8

Please sign in to comment.