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 @@ -242,7 +242,7 @@ jobs:
242242 GCP_VMUSER : ${{ secrets.GCP_VMUSER }}
243243 GCP_INSTANCE_NAME : ${{ secrets.GCP_INSTANCE_NAME }}
244244 GCP_INSTANCE_ZONE : ${{ secrets.GCP_INSTANCE_ZONE }}
245- if : env.azure_status != 'available' || env.azure_status != ' success'
245+ if : env.azure_status != 'success'
246246 run : |
247247 echo "Deploying to GCP because Azure return VM instance: busy/failure/unknown"
248248
@@ -367,7 +367,7 @@ jobs:
367367 GCP_SECRETS_FILE : ${{ secrets.GCP_SECRETS_FILE }}
368368 GITHUB_REPO_URL : ${{ github.server_url }}/${{ github.repository }}.git
369369 GITHUB_BRANCH : " enhance-v1"
370- if : env.azure_status != 'available' || env.azure_status != ' success' && env.gcp_status == 'available'
370+ if : env.azure_status != 'success' && env.gcp_status == 'available'
371371 run : |
372372 echo "Deploying App to GCP VM"
373373
You can’t perform that action at this time.
0 commit comments