File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments