Skip to content

Commit

Permalink
Merge pull request Expensify#30877 from Expensify/Rory-PurgeCloudflar…
Browse files Browse the repository at this point in the history
…eCache

[No QA] Bust CloudFlare cache during HelpDot deploys
  • Loading branch information
roryabraham authored Dec 15, 2023
2 parents 1f72cef + e7267d9 commit 4592a7c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deployExpensifyHelp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
projectName: helpdot
directory: ./docs/_site

- name: Setup Cloudflare CLI
run: pip3 install cloudflare

- name: Purge Cloudflare cache
run: /home/runner/.local/bin/cli4 --delete hosts=["help.expensify.com"] /zones/:9ee042e6cfc7fd45e74aa7d2f78d617b/purge_cache
env:
CF_API_KEY: ${{ secrets.CLOUDFLARE_TOKEN }}

- name: Leave a comment on the PR
uses: actions-cool/maintain-one-comment@de04bd2a3750d86b324829a3ff34d47e48e16f4b
if: ${{ github.event_name == 'pull_request' }}
Expand Down

0 comments on commit 4592a7c

Please sign in to comment.