Skip to content

Commit d8ed2c4

Browse files
update workflow
1 parent 0a85bef commit d8ed2c4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ name: Quarto Publish
88
jobs:
99
build-deploy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
- name: Check out repository
13-
uses: actions/checkout@v4
15+
uses: actions/checkout@v4
1416

1517
- name: Set up Quarto
1618
uses: quarto-dev/quarto-actions/setup@v2
17-
with:
18-
version: pre-release
19-
20-
- name: Render and Publish
19+
20+
- name: Render and Publish
2121
uses: quarto-dev/quarto-actions/publish@v2
2222
with:
2323
target: gh-pages
24-
QUARTO_PUB_AUTH_TOKEN: ${{ secrets.QUARTO_PUB_AUTH_TOKEN }}
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)