File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2424 permissions :
2525 actions : write # needed to allow julia-actions/cache to delete old caches that it has created
2626 contents : write # needed for Quarto render
27+ pages : write # needed for deployment to GitHub Pages
28+ id-token : write # needed for deployment to GitHub Pages
29+ statuses : write # needed for deployment to GitHub Pages
2730 if : ${{ !github.event.pull_request.draft }}
2831 steps :
2932 - uses : actions/checkout@v4
@@ -44,10 +47,11 @@ jobs:
4447 uses : quarto-dev/quarto-actions/render@v2
4548 with :
4649 to : html
47- - uses : quarto-dev/quarto-actions/publish@v2
50+ - name : Quarto Preview
4851 if : ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
49- env :
50- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ uses : quarto-dev/quarto-actions/publish@v2
5153 with :
5254 render : ' false' # rendered in the previous step already
5355 target : gh-pages
56+ env :
57+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments