File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11name : Deploy to GitHub Pages
22on :
3- pull_request :
4- types : [closed]
3+ push :
54 branches :
65 - main
76 workflow_dispatch : # Adds the manual trigger
@@ -12,7 +11,7 @@ permissions:
1211
1312jobs :
1413 build_v1 :
15- if : github.event_name == 'workflow_dispatch' || ( github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]')
14+ if : github.event_name == 'workflow_dispatch' || github.actor == 'github-actions[bot]'
1615 runs-on : ubuntu-latest
1716 steps :
1817 - name : Checkout v1 branch
5251 ./apps/playground/dist
5352
5453 build_v2 :
55- if : github.event_name == 'workflow_dispatch' || ( github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]')
54+ if : github.event_name == 'workflow_dispatch' || github.actor == 'github-actions[bot]'
5655 runs-on : ubuntu-latest
5756 steps :
5857 - name : Checkout v2 branch
9291 ./apps/playground2/dist
9392 ./apps/builder/dist
9493 build_v3 :
95- if : github.event_name == 'workflow_dispatch' || ( github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]')
94+ if : github.event_name == 'workflow_dispatch' || github.actor == 'github-actions[bot]'
9695 runs-on : ubuntu-latest
9796 steps :
9897 - name : Checkout code repository
You can’t perform that action at this time.
0 commit comments