From 65c8b4943068d6b96255958e8ab7c2f7ce4ec026 Mon Sep 17 00:00:00 2001 From: Greg King Date: Fri, 17 Jun 2022 13:52:45 -0400 Subject: [PATCH] Passed the token through the environment. --- .github/workflows/snapshot-on-push-master.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshot-on-push-master.yml b/.github/workflows/snapshot-on-push-master.yml index f6e1524f6..2e2406327 100644 --- a/.github/workflows/snapshot-on-push-master.yml +++ b/.github/workflows/snapshot-on-push-master.yml @@ -97,8 +97,10 @@ jobs: path: cc65-snapshot-win64.zip - name: Update the online documents. + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git clone --depth 1 https://${{ secrets.GITHUB_TOKEN }}@github.com/cc65/doc.git doc.git + git clone --depth 1 https://${GH_TOKEN}@github.com/cc65/doc.git doc.git cd doc.git rm *.* cp ../html/*.* .