Skip to content

Commit 785a22c

Browse files
committed
changes
1 parent 40ae02a commit 785a22c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/build-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
name: Build backend
10+
name: Build
1111
runs-on: [self-hosted]
1212
steps:
1313
- uses: actions/checkout@v4

.github/workflows/deploy.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
fi
113113
114114
build-pretix:
115+
name: Build pretix
115116
needs: [check-pretix-build]
116117
uses: ./.github/workflows/build-pretix.yml
117118
with:
@@ -120,6 +121,7 @@ jobs:
120121
if: ${{ needs.check-pretix-build.outputs.image_exists == 0 }}
121122

122123
build-be:
124+
name: Build backend
123125
needs: [check-backend-build]
124126
uses: ./.github/workflows/build-backend.yml
125127
with:
@@ -131,7 +133,7 @@ jobs:
131133
name: Deploy backend
132134
runs-on: ubuntu-24.04
133135
needs: [build-be, build-pretix, check-frontend-build]
134-
if: ${{ always()}}
136+
if: always() && !cancelled() && !failure()
135137
environment:
136138
name: ${{ fromJSON('["pastaporto", "production"]')[github.ref == 'refs/heads/main'] }}
137139
defaults:
@@ -167,10 +169,6 @@ jobs:
167169
runs-on: ubuntu-24.04
168170
needs: [deploy-be, check-backend-build]
169171
steps:
170-
- uses: actions/checkout@v4
171-
with:
172-
ref: ${{ github.ref }}
173-
fetch-depth: 0
174172
- name: Wait stable deployment
175173
uses: ./.github/actions/wait-for-deployment
176174
with:
@@ -224,10 +222,6 @@ jobs:
224222
runs-on: ubuntu-24.04
225223
needs: [deploy-fe, check-frontend-build]
226224
steps:
227-
- uses: actions/checkout@v4
228-
with:
229-
ref: ${{ github.ref }}
230-
fetch-depth: 0
231225
- name: Wait stable deployment
232226
uses: ./.github/actions/wait-for-deployment
233227
with:

0 commit comments

Comments
 (0)