Skip to content

Commit fc5f148

Browse files
luacmartinsOSBotify
authored andcommitted
Merge pull request #46152 from Expensify/Rory-FixProdDeploys
[No QA] Fix prod web deploys (cherry picked from commit 411f136)
1 parent 41a89eb commit fc5f148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/platformDeploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,10 @@ jobs:
346346
aws s3 cp --acl public-read --content-type 'application/json' --metadata-directive REPLACE ${{ env.S3_URL }}/.well-known/apple-app-site-association ${{ env.S3_URL }}/.well-known/apple-app-site-association
347347
aws s3 cp --acl public-read --content-type 'application/json' --metadata-directive REPLACE ${{ env.S3_URL }}/.well-known/apple-app-site-association ${{env.S3_URL }}/apple-app-site-association
348348
env:
349-
S3_URL: s3://${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) && '' || 'staging-' }}expensify-cash
349+
S3_URL: s3://${{ env.SHOULD_DEPLOY_PRODUCTION != 'true' && 'staging-' || '' }}expensify-cash
350350

351351
- name: Purge Cloudflare cache
352-
run: /home/runner/.local/bin/cli4 --verbose --delete hosts=["${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) && '' || 'staging.' }}new.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
352+
run: /home/runner/.local/bin/cli4 --verbose --delete hosts=["${{ env.SHOULD_DEPLOY_PRODUCTION != 'true' && 'staging.' || '' }}new.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
353353
env:
354354
CF_API_KEY: ${{ secrets.CLOUDFLARE_TOKEN }}
355355

0 commit comments

Comments
 (0)