From ce8a4a9cefdd55e82d0a62e7e1a3cc2b18454288 Mon Sep 17 00:00:00 2001 From: Ry Jones Date: Thu, 7 Sep 2023 07:27:14 -0700 Subject: [PATCH] Change publication to use auto-token Signed-off-by: Ry Jones --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6f6a4bcc..afce887b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,6 +57,8 @@ jobs: publish_documentation: name: Publish documentation runs-on: ubuntu-latest + permissions: + contents: write if: startsWith(github.ref, 'refs/tags/') steps: - name: Checkout @@ -77,7 +79,7 @@ jobs: with: branch: gh-pages folder: docs/build - token: ${{ secrets.DOCS_GITHUB_ACCESS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} git-config-name: ${{ secrets.DOCS_GITHUB_NAME }} git-config-email: ${{ secrets.DOCS_GITHUB_EMAIL }}