From e303ec8ecc4478c78104f9a809913da500688908 Mon Sep 17 00:00:00 2001 From: danstarns Date: Wed, 23 Oct 2024 16:06:08 +0100 Subject: [PATCH] ci: slient pass the GITHUB_TOKEN before push --- .github/workflows/publish-docs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 5b4fa980e..5e7a1e640 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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 -