From 80c0bdcd0ea677beb566454f5290c4f803b59b64 Mon Sep 17 00:00:00 2001 From: Rik Huijzer Date: Thu, 26 May 2022 11:29:48 +0200 Subject: [PATCH] Simplify the key setup instructions (#21) * Simplify the key setup instructions * Set `permissions: contents: write` --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e3303fe..f2b700c 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ on: jobs: Documenter: + permissions: + contents: write name: Documentation runs-on: ubuntu-latest steps: @@ -19,13 +21,6 @@ jobs: - uses: julia-actions/julia-docdeploy@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} -``` - -You need `DOCUMENTER_KEY` for deployement, which you can generate using DocumenterTools: -``` -julia> using DocumenterTools, YourPackage -julia> DocumenterTools.genkeys(YourPackage) ``` If you need to build your documentation on a particular Julia version, you can insert