Skip to content

Commit 61a5cb9

Browse files
committed
Tweak
1 parent 4aba92f commit 61a5cb9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
push:
66
branches: ["master"]
77

8-
permissions:
9-
pull-requests: write # For comments in PRs
8+
permissions: {}
109

1110
jobs:
1211
build:
@@ -27,7 +26,7 @@ jobs:
2726
with:
2827
path: requirements.txt
2928
- name: Build site
30-
run: python3 -We -m pelican -s publishconf.py
29+
run: pelican --fatal warnings -s publishconf.py
3130
- name: Setup Pages
3231
uses: actions/configure-pages@v5
3332
- name: Upload artifact
@@ -39,6 +38,8 @@ jobs:
3938
if: "github.event_name == 'pull_request'"
4039
runs-on: "ubuntu-latest"
4140
needs: "build"
41+
permissions:
42+
pull-requests: write # For comments in PRs
4243
steps:
4344
- name: Download site artifact
4445
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)