Skip to content

Commit

Permalink
Update pkgdown.yaml
Browse files Browse the repository at this point in the history
Update permissions to write to repo
  • Loading branch information
mitokic authored Feb 22, 2024
1 parent 6681122 commit 4aa1cf3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:

name: pkgdown

permissions:
contents: write
actions: read

jobs:
pkgdown:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -35,4 +39,4 @@ jobs:
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, branch = "gh-pages", github_pages = TRUE)'
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE, branch = "gh-pages", github_pages = TRUE)'

0 comments on commit 4aa1cf3

Please sign in to comment.