From 74894eda6b5f4f1761ae6889fbf4dce707553d7f Mon Sep 17 00:00:00 2001 From: niklasmueboe Date: Wed, 12 Jun 2024 15:13:08 +0200 Subject: [PATCH] remove unnecessary permission --- .github/workflows/documentation.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 884b461..dd9907f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -10,8 +10,6 @@ on: jobs: build: permissions: - contents: write - pull-requests: read statuses: write runs-on: ubuntu-latest steps: @@ -24,6 +22,5 @@ jobs: run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - name: Build and deploy env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} run: julia --project=docs/ docs/make.jl