Skip to content

Commit

Permalink
trying github token and pull before pushing
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 6d12b5b commit 5d75e4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git config user.signingkey "${{ secrets.GPG_KEY_ID }}"
- name: Create and switch to gh-pages branch
run: |
Expand All @@ -47,7 +46,10 @@ jobs:
run: |
git add * -f
git commit -m "Update documentation"
- name: Pull latest changes from remote gh-pages branch
run: git pull origin gh-pages

- name: Push changes to gh-pages
run: git push origin gh-pages

Expand Down

0 comments on commit 5d75e4e

Please sign in to comment.