File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 78
78
(steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) &&
79
79
(
80
80
(github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false') ||
81
- github.event.inputs.build == 'true'
81
+ github.event.inputs.build == 'true' ||
82
+ (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true')
82
83
)
83
84
}}
84
85
@@ -172,7 +173,7 @@ jobs:
172
173
echo "CODER_BASE_IMAGE_TAG=${{ steps.set_tags.outputs.CODER_BASE_IMAGE_TAG }}"
173
174
echo "CODER_IMAGE_TAG=${{ steps.set_tags.outputs.CODER_IMAGE_TAG }}"
174
175
echo "NEW=${{ steps.check_deployment.outputs.NEW }}"
175
- echo "BUILD=${{ (steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) && ((github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false') || github.event.inputs.build == 'true') }}"
176
+ echo "BUILD=${{ (steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) && ((github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false') || github.event.inputs.build == 'true' || (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') ) }}"
176
177
echo "GITHUB_REF=${{ github.ref }}"
177
178
178
179
comment-pr :
You can’t perform that action at this time.
0 commit comments