Skip to content

Commit

Permalink
ci: slient pass the GITHUB_TOKEN before push (#6252)
Browse files Browse the repository at this point in the history
  • Loading branch information
danstarns authored Oct 23, 2024
1 parent 20ae7f0 commit e6bb227
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
# stage all and commit
git add -A
git commit -m 'deploy docs'
# Pass the GITHUB_TOKEN before push: https://stackoverflow.com/a/69979203
git config --unset-all http.https://github.com/.extraheader
git push https://x-access-token:${GITHUB_TOKEN}@github.com/GrapesJS/website.git main
cd -

0 comments on commit e6bb227

Please sign in to comment.