File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4141 with :
4242 name : page-build
4343 path : public/
44-
Original file line number Diff line number Diff line change 99jobs :
1010 deploy_live_website :
1111 runs-on : ubuntu-latest
12- if : github.event_name == 'push'
12+ if : github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push'
1313 steps :
1414 - name : Download pages
1515 uses : actions/download-artifact@v4
@@ -43,13 +43,15 @@ jobs:
4343
4444 deploy_github_pages :
4545 runs-on : ubuntu-latest
46+ if : github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
4647 steps :
4748 - name : Checkout repository
4849 uses : actions/checkout@v3
4950
50- - name : Download artifact
51+ - name : Download pages
5152 uses : actions/download-artifact@v4
5253 with :
54+ run-id : ${{ github.event.workflow_run.id }}
5355 name : page-build
5456 path : public
5557
You can’t perform that action at this time.
0 commit comments