Skip to content

Commit 47766ba

Browse files
committed
chore: remove redundant condition on deploy if
1 parent d0ad978 commit 47766ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/docker-publish.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
deploy:
2929
needs: test
3030
# !cancelled() is needed because if the whole workflow was cancelled, we don't want this job to run.
31-
# (github.ref_type != 'tag' || needs.test.result == 'success') is needed because if `test` did run, we only want this to run if `test` succeeded.
32-
if: (!cancelled() && (github.ref_type != 'tag' || needs.test.result == 'success'))
31+
if: (!cancelled())
3332
runs-on: ubuntu-latest
3433
environment: ${{ github.ref_type != 'tag' && github.ref_name || contains(github.ref, '-rc') && 'test' || 'prod' }}
3534

0 commit comments

Comments
 (0)