Skip to content

Commit afed24f

Browse files
committed
change
1 parent 3db342d commit afed24f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,13 @@ jobs:
186186
with:
187187
githash: ${{ needs.check-frontend-build.outputs.githash }}
188188
secrets: inherit
189-
if: ${{ needs.check-frontend-build.outputs.image_exists == 0 }}
189+
if: ${{ needs.check-frontend-build.outputs.image_exists == 0 }} && always() && !cancelled() && !failure() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
190190

191191
deploy-fe:
192192
name: Deploy frontend
193193
runs-on: ubuntu-24.04
194194
needs: [build-fe]
195+
if: always() && !cancelled() && !failure() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
195196
environment:
196197
name: ${{ fromJSON('["pastaporto", "production"]')[github.ref == 'refs/heads/main'] }}
197198
defaults:
@@ -226,6 +227,7 @@ jobs:
226227
name: Wait frontend deployment
227228
runs-on: ubuntu-24.04
228229
needs: [deploy-fe, check-frontend-build]
230+
if: always() && !cancelled() && !failure() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
229231
steps:
230232
- uses: actions/checkout@v4
231233
with:

0 commit comments

Comments
 (0)