Browse Source

ci: slient pass the GITHUB_TOKEN before push

pull/6252/head
danstarns 1 year ago
parent
commit
e303ec8ecc
  1. 3
      .github/workflows/publish-docs.yml

3
.github/workflows/publish-docs.yml

@ -43,6 +43,9 @@ jobs:
# stage all and commit # stage all and commit
git add -A git add -A
git commit -m 'deploy docs' 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 git push https://x-access-token:${GITHUB_TOKEN}@github.com/GrapesJS/website.git main
cd - cd -

Loading…
Cancel
Save