File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 11on :
2+ workflow_dispatch : # To allow for manuel trigger of this workflow. Cf
3+ # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_dispatch
4+ push :
5+ branches-ignore : # Triggers for push to all branches but main
6+ - main
27 pull_request :
38 types :
49 - opened
510 - reopened
611 - synchronize
712 - closed # Including closed to remove preview when PR is closed.
813 branches :
9- - main
14+ - main # PR to main only
1015
1116env :
1217 PREVIEW_BRANCH : gh-pages
1318
1419concurrency :
15- group : preview-${{ github.ref }}
20+ group : preview-${{ github.ref }} # preview followed by the reference of the branch or tag that triggered the workflow
1621 cancel-in-progress : true
1722
1823jobs :
Original file line number Diff line number Diff line change 11on :
2- workflow_dispatch :
2+ workflow_dispatch : # To allow for manuel trigger of this workflow. Cf
3+ # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_dispatch
34 push :
45 branches : main
56
67name : Quarto Publish
78
9+ concurrency :
10+ group : ci-${{ github.ref }} # preview followed by the reference of the branch or tag that triggered the workflow
11+ cancel-in-progress : true
12+
813jobs :
914 build-deploy :
1015 runs-on : ubuntu-latest
1116 steps :
1217 - name : Check out repository
13- uses : actions/checkout@v3
18+ uses : actions/checkout@v3
1419
1520 - uses : actions/setup-python@v4
1621 with :
2025 with :
2126 version : 1.7.31
2227
23- - name : Render and Publish
28+ - name : Render and Publish
2429 uses : quarto-dev/quarto-actions/publish@v2
2530 with :
2631 target : netlify
You can’t perform that action at this time.
0 commit comments