Skip to content

Commit 37cb2ec

Browse files
committed
deploy on skipped builds too
1 parent 583c213 commit 37cb2ec

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
@@ -122,7 +122,7 @@ jobs:
122122
deploy:
123123
needs: [build, pr_commented]
124124
# if: needs.build.result == 'success'
125-
if: true
125+
if: always() && needs.build.result == 'success' || needs.build.result == 'skipped'
126126
runs-on: "ubuntu-latest"
127127
env:
128128
CODER_IMAGE_TAG: ${{ needs.pr_commented.outputs.CODER_IMAGE_TAG }}

0 commit comments

Comments
 (0)