Skip to content

Commit 5dbcc62

Browse files
authored
Merge pull request #11 from tidy-survey-r/secret-token-fix
Use GH secrets in action
2 parents 0eff701 + 439507d commit 5dbcc62

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ jobs:
2828
uses: r-lib/actions/setup-renv@v2
2929
with:
3030
cache-version: 1
31-
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
3234
- name: Render and Publish
3335
uses: quarto-dev/quarto-actions/publish@v2
3436
with:
3537
target: gh-pages
3638
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
OSF_PAT: ${{ secrets.OSF_PAT }}

0 commit comments

Comments
 (0)