Skip to content

Commit 0711999

Browse files
committed
fix
1 parent 9616eca commit 0711999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
deploy:
129129
needs: [build, pr_commented]
130130
# Run deploy job only if build job was successful or skipped
131-
if: always() && !failed() && !cancelled()
131+
if: always() && (needs.build.result == 'success' || needs.build.result == 'skipped')
132132
runs-on: "ubuntu-latest"
133133
env:
134134
CODER_IMAGE_TAG: ${{ needs.pr_commented.outputs.CODER_IMAGE_TAG }}

0 commit comments

Comments
 (0)