Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup!
  • Loading branch information
matifali committed Aug 11, 2023
commit 29525e9353bc1a4573d2c1cd16d849b271cf244e
11 changes: 6 additions & 5 deletions .github/workflows/pr-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ jobs:
NEW: ${{ steps.check_deployment.outputs.NEW }}
BUILD: |
${{
(steps.filter.outputs.all_count > steps.filter.outputs.ignored_count ||
github.event.inputs.build == 'true') &&
(github.event_name == 'push' ||
steps.check_deployment.outputs.NEW == 'true')
(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'
)
}}

runs-on: "ubuntu-latest"
Expand Down Expand Up @@ -171,7 +172,7 @@ jobs:
echo "CODER_BASE_IMAGE_TAG=${{ steps.set_tags.outputs.CODER_BASE_IMAGE_TAG }}"
echo "CODER_IMAGE_TAG=${{ steps.set_tags.outputs.CODER_IMAGE_TAG }}"
echo "NEW=${{ steps.check_deployment.outputs.NEW }}"
echo "BUILD=${{ (steps.filter.outputs.all_count > steps.filter.outputs.ignored_count || github.event.inputs.build == 'true') && (github.event_name == 'push' || steps.check_deployment.outputs.NEW == 'true') }}"
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') }}"
echo "GITHUB_REF=${{ github.ref }}"

comment-pr:
Expand Down