Skip to content

Commit 4ac7ed0

Browse files
committed
change
1 parent 785a22c commit 4ac7ed0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
name: Deploy backend
134134
runs-on: ubuntu-24.04
135135
needs: [build-be, build-pretix, check-frontend-build]
136-
if: always() && !cancelled() && !failure()
136+
if: always() && !cancelled() && !failure() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
137137
environment:
138138
name: ${{ fromJSON('["pastaporto", "production"]')[github.ref == 'refs/heads/main'] }}
139139
defaults:
@@ -168,6 +168,7 @@ jobs:
168168
name: Wait backend deployment
169169
runs-on: ubuntu-24.04
170170
needs: [deploy-be, check-backend-build]
171+
if: always() && !cancelled() && !failure() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
171172
steps:
172173
- name: Wait stable deployment
173174
uses: ./.github/actions/wait-for-deployment

0 commit comments

Comments
 (0)