Skip to content

Commit

Permalink
allow write permissions for github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuball committed Dec 3, 2024
1 parent 7437079 commit 4e4bace
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ name: Deploy to GitHub Pages
push:
branches:
- main
permission:
contents: write
1 change: 1 addition & 0 deletions cells/repository/configs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ in {
data = {
name = "Deploy to GitHub Pages";
on.push.branches = ["main"];
permission.contents = "write";

jobs.deploy = {
runs-on = "ubuntu-latest";
Expand Down

0 comments on commit 4e4bace

Please sign in to comment.