From 3ef32dfead4b1e633ff116eaf07017066d1f9e05 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Tue, 17 Nov 2026 10:42:42 +0100 Subject: [PATCH] Publish docs with GITHUB_TOKEN instead of DOCUSAURUS_GH_TOKEN Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release-docs.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-docs.yaml b/.github/workflows/release-docs.yaml index a5bffc81..9e0b416a 100644 --- a/.github/workflows/release-docs.yaml +++ b/.github/workflows/release-docs.yaml @@ -13,6 +13,8 @@ jobs: publish_dokka: name: Dokka docs runs-on: ubuntu-22.04 + permissions: + contents: write # push to gh-pages steps: - name: Check out code uses: actions/checkout@v3.1.0 @@ -28,6 +30,6 @@ jobs: - name: Deploy to GitHub pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.DOCUSAURUS_GH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./build/dokka/htmlMultiModule publish_branch: gh-pages \ No newline at end of file