Skip to content

Commit

Permalink
fix publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang authored Jan 10, 2025
1 parent a5cbf06 commit dfe50df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on: # either one of the following four cases
- ready_for_review

jobs:
build-deploy:
build:
runs-on: ubuntu-latest
permissions:
actions: write # needed to allow julia-actions/cache to delete old caches that it has created
Expand All @@ -44,12 +44,10 @@ jobs:
uses: quarto-dev/quarto-actions/render@v2
with:
to: html
- name: Quarto Publish
- uses: quarto-dev/quarto-actions/publish@v2
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
uses: quarto-dev/quarto-actions/publish@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
render: 'false' # rendered in the previous step already
target: gh-pages

0 comments on commit dfe50df

Please sign in to comment.