diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 01640b3d..f47e2f81 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -5,6 +5,10 @@ on: name: pkgdown +permissions: + contents: write + actions: read + jobs: pkgdown: runs-on: ubuntu-20.04 @@ -35,4 +39,4 @@ jobs: run: | git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" - Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, branch = "gh-pages", github_pages = TRUE)' \ No newline at end of file + Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, branch = "gh-pages", github_pages = TRUE)'