Skip to content

Commit

Permalink
trying github token
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 4809321 commit 6d12b5b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/update_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ jobs:
- name: Copy built documentation
run: cp -r docs/_build/html/* .

# - 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
- name: Add and commit changes
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions"
git add * -f
git commit -m "Update documentation"
git push origin HEAD:gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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"
# git push origin HEAD:gh-pages
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6d12b5b

Please sign in to comment.