File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ jobs:
6060 run : python -m oss_dashboard.main
6161
6262 - name : Set up Quarto
63- if : (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
63+ if : (( github.ref == 'refs/heads/main') && (github. event_name == 'push' || github.event_name == 'schedule')) || github.event_name == 'workflow_dispatch'
6464 uses : quarto-dev/quarto-actions/setup@v2
6565
6666 # 👇 single step that both renders and deploys to the gh‑pages branch
6767 - name : Render and publish
68- if : (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
68+ if : (( github.ref == 'refs/heads/main') && (github. event_name == 'push' || github.event_name == 'schedule')) || github.event_name == 'workflow_dispatch'
6969 uses : quarto-dev/quarto-actions/publish@v2
7070 with :
7171 target : gh-pages
You can’t perform that action at this time.
0 commit comments