From 908ecab9f690997cb62c1bb58704464ca66b369c Mon Sep 17 00:00:00 2001 From: stone-w4tch3r <100294019+stone-w4tch3r@users.noreply.github.com> Date: Tue, 25 Jun 2024 03:48:18 +0500 Subject: [PATCH] fixed GH_TOKEN --- .github/workflows/deploy_pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_pages.yml b/.github/workflows/deploy_pages.yml index aaabdcc..ad3e379 100644 --- a/.github/workflows/deploy_pages.yml +++ b/.github/workflows/deploy_pages.yml @@ -27,7 +27,7 @@ jobs: - name: Deploy with gh-pages run: | - git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + git remote set-url origin https://git:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git npx gh-pages -d dist -u "github-actions-bot " env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file