From 4aa1cf30fe817368807f68173e09eefda622c867 Mon Sep 17 00:00:00 2001 From: Mike Tokic Date: Thu, 22 Feb 2024 09:08:27 -0800 Subject: [PATCH] Update pkgdown.yaml Update permissions to write to repo --- .github/workflows/pkgdown.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)'