Skip to content

Commit

Permalink
Merge pull request #33718 from Expensify/Rory-WrapHostsQuotesCFPurge
Browse files Browse the repository at this point in the history
[CP Staging] [No QA] Wrap hosts in quotes

(cherry picked from commit 98b571d)
  • Loading branch information
mountiny authored and OSBotify committed Dec 28, 2023
1 parent b9bb34f commit 46527d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,13 @@ jobs:

- name: Purge production Cloudflare cache
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run: /home/runner/.local/bin/cli4 --delete hosts=["new.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
run: /home/runner/.local/bin/cli4 --delete hosts='["new.expensify.com"]' /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
env:
CF_API_KEY: ${{ secrets.CLOUDFLARE_TOKEN }}

- name: Purge staging Cloudflare cache
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
run: /home/runner/.local/bin/cli4 --delete hosts=["staging.new.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
run: /home/runner/.local/bin/cli4 --delete hosts='["staging.new.expensify.com"]' /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
env:
CF_API_KEY: ${{ secrets.CLOUDFLARE_TOKEN }}

Expand Down

0 comments on commit 46527d1

Please sign in to comment.