File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,17 +30,17 @@ jobs:
3030 file : ./infrastructure/preview.Dockerfile
3131 push : true
3232 tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}-dev:preview-${{ github.event.number }}-${{ github.event.pull_request.head.sha }}
33- add_preview_label :
33+ add_ready_for_preview_label :
3434 if : github.event.pull_request.draft == false
3535 runs-on : ubuntu-latest
3636 needs : build
3737 steps :
3838 - uses : actions-ecosystem/action-add-labels@v1
3939 with :
4040 labels : |
41- preview
41+ ready-for- preview
4242 dispatch_update_deployment :
43- needs : add_preview_label
43+ needs : add_ready_for_preview_label
4444 runs-on : ubuntu-latest
4545 if : ${{ contains(github.event.pull_request.labels.*.name, 'deployed') }}
4646 steps :
7575 }
7676 }
7777 dispatch_check_deployment :
78- needs : add_preview_label
78+ needs : add_ready_for_preview_label
7979 runs-on : ubuntu-latest
80+ if : ${{ contains(github.event.pull_request.labels.*.name, 'preview') }}
8081 steps :
8182 - name : Dispatch Check Preview Repository Command
8283 uses : myrotvorets/trigger-repository-dispatch-action@1.0.0
You can’t perform that action at this time.
0 commit comments