From e5d125da86d567bc535211ab9d262334547e94f7 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Fri, 23 Jan 2026 11:54:58 -0800 Subject: [PATCH] fix(ci): Change PUBLISH_PAGES_TOKEN to PUBLISH_DOCS_TOKEN Replace PUBLISH_PAGES_TOKEN with PUBLISH_DOCS_TOKEN across workflow files for consistency. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/main.yml | 3 ++- .github/workflows/publish-gh-pages.yml | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 773f45df9..5ed4a5ec3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,7 +77,8 @@ jobs: artifact_name: coverage permissions: contents: write - secrets: inherit + secrets: + PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }} is-release: name: Determine whether this is a release merge commit diff --git a/.github/workflows/publish-gh-pages.yml b/.github/workflows/publish-gh-pages.yml index 965491564..f3ae34c1a 100644 --- a/.github/workflows/publish-gh-pages.yml +++ b/.github/workflows/publish-gh-pages.yml @@ -15,6 +15,9 @@ on: description: 'Name of artifact to download' required: true type: string + secrets: + PUBLISH_DOCS_TOKEN: + required: true jobs: publish: @@ -33,6 +36,6 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e with: - personal_token: ${{ secrets.PUBLISH_PAGES_TOKEN }} + personal_token: ${{ secrets.PUBLISH_DOCS_TOKEN }} publish_dir: ${{ inputs.publish_dir }} destination_dir: ${{ inputs.destination_dir }}