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