Skip to content

Commit dfe50df

Browse files
authored
fix publish.yml
1 parent a5cbf06 commit dfe50df

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on: # either one of the following four cases
1919
- ready_for_review
2020

2121
jobs:
22-
build-deploy:
22+
build:
2323
runs-on: ubuntu-latest
2424
permissions:
2525
actions: write # needed to allow julia-actions/cache to delete old caches that it has created
@@ -44,12 +44,10 @@ jobs:
4444
uses: quarto-dev/quarto-actions/render@v2
4545
with:
4646
to: html
47-
- name: Quarto Publish
47+
- uses: quarto-dev/quarto-actions/publish@v2
4848
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
49-
uses: quarto-dev/quarto-actions/publish@v2
5049
env:
5150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5251
with:
5352
render: 'false' # rendered in the previous step already
5453
target: gh-pages
55-

0 commit comments

Comments
 (0)