Skip to content

Commit 2bc9965

Browse files
author
Emre Dogan
committed
dest res
1 parent c85377b commit 2bc9965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/validation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,12 @@ jobs:
293293
# Example: curl -f http://your-service-url/health || exit 1
294294
295295
- name: Conditional Terraform Destroy
296-
if: always() && ${{ env.DESTROY_RESOURCES }} == 'true'
296+
if: always() && env.DESTROY_RESOURCES == 'true'
297297
run: terraform destroy -auto-approve -lock=false -var="gcloud_project=${{ matrix.gcloud_project }}" -var="gcloud_zone=${{ matrix.gcloud_zone }}" -var="acebox_size=${{ matrix.acebox_size }}" -var="managed_zone_name=${{ matrix.managed_zone_name }}" -var="use_case=${{ matrix.use_case }}"
298298
working-directory: ${{ matrix.working_directory }}
299299

300300
- name: Delete GCS objects with specific prefix
301-
if: always() && ${{ env.DESTROY_RESOURCES }} == 'true' && matrix.provider == 'gcloud'
301+
if: always() && env.DESTROY_RESOURCES == 'true' && matrix.provider == 'gcloud'
302302
run: |
303303
gsutil rm -r gs://${{ matrix.backend_config_bucket }}/${{ matrix.backend_config_prefix }}/${{ matrix.use_case }}/${{ github.run_id }}
304304
env:

0 commit comments

Comments
 (0)