Skip to content

Commit 5932117

Browse files
committed
move permissions to the correct level
1 parent 4e4bace commit 5932117

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/book.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ jobs:
22
deploy:
33
concurrency:
44
group: ${{ github.workflow }}-${{ github.ref }}
5+
permission:
6+
contents: write
57
runs-on: ubuntu-latest
68
steps:
79
- uses: actions/checkout@v4
@@ -17,5 +19,3 @@ name: Deploy to GitHub Pages
1719
push:
1820
branches:
1921
- main
20-
permission:
21-
contents: write

cells/repository/configs.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ in {
2626
data = {
2727
name = "Deploy to GitHub Pages";
2828
on.push.branches = ["main"];
29-
permission.contents = "write";
3029

3130
jobs.deploy = {
3231
runs-on = "ubuntu-latest";
3332
concurrency.group = "\${{ github.workflow }}-\${{ github.ref }}";
33+
permission.contents = "write";
3434
steps = [
3535
{ uses = "actions/checkout@v4"; }
3636
{ uses = "nixbuild/nix-quick-install-action@v29"; }

0 commit comments

Comments
 (0)