Skip to content

Commit 3074bf5

Browse files
committed
testing
1 parent 5c28e36 commit 3074bf5

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,9 @@ jobs:
7676
BUILD: |
7777
${{
7878
github.event.inputs.build ||
79-
(
80-
github.event_name == 'workflow_dispatch' &&
81-
(
82-
steps.check_deployment.outputs.NEW ||
83-
steps.filter.outputs.all_count > steps.filter.outputs.ignored_count
84-
)
85-
) ||
86-
(
87-
steps.filter.outputs.all_count > steps.filter.outputs.ignored_count &&
88-
github.event_name == 'push' &&
89-
!steps.check_deployment.outputs.NEW
90-
)
79+
(github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') ||
80+
(github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) ||
81+
(steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count)
9182
}}
9283
9384
runs-on: "ubuntu-latest"
@@ -179,7 +170,13 @@ jobs:
179170
echo "files_changed: ${{ steps.filter.outputs.all_count > steps.filter.outputs.ignored_count }}"
180171
echo "new_deployment: ${{ steps.check_deployment.outputs.NEW }}"
181172
# The BUILD f this jon defined abobe using these inputs
182-
echo "BUILD: ${{ github.event.inputs.build || (github.event_name == 'workflow_dispatch' && (steps.check_deployment.outputs.NEW == 'true' || steps.filter.outputs.all_count > steps.filter.outputs.ignored_count)) || (steps.filter.outputs.all_count > steps.filter.outputs.ignored_count && github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false') }}"
173+
echo "BUILD: |
174+
${{
175+
github.event.inputs.build == 'true' ||
176+
(github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') ||
177+
(github.event_name == 'push' && steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count) ||
178+
(steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count)
179+
}}"
183180
184181
comment-pr:
185182
needs: [check_pr, get_info]

0 commit comments

Comments
 (0)