From 9dc61e552fbe02a948c1cdc7a66b8ce718b24287 Mon Sep 17 00:00:00 2001 From: BrickheadJohnny Date: Mon, 18 Nov 2024 18:05:00 +0100 Subject: [PATCH] fix: don't run gh actions for now --- .github/workflows/playwright.yml | 6 +++--- .github/workflows/purge-cloudflare-cache.yml | 13 ------------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/purge-cloudflare-cache.yml diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 5bc88c5b9f..086d2913ec 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,7 +1,7 @@ name: Playwright Tests -on: - deployment_status: - workflow_dispatch: +# on: +# deployment_status: +# workflow_dispatch: concurrency: group: "playwright" diff --git a/.github/workflows/purge-cloudflare-cache.yml b/.github/workflows/purge-cloudflare-cache.yml deleted file mode 100644 index db7cdb379b..0000000000 --- a/.github/workflows/purge-cloudflare-cache.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Purge Cloudflare cache - -on: - deployment_status: - workflow_dispatch: - -jobs: - purge-cache: - if: github.event_name == 'workflow_dispatch' || (github.event.deployment_status.state == 'success' && github.event.deployment_status.environment == 'Production – guild-xyz') - runs-on: ubuntu-latest - steps: - - name: Clear Cloudflare cache - run: curl --request POST --url https://api.cloudflare.com/client/v4/zones/${{secrets.CLOUDFLARE_ZONE_ID}}/purge_cache --header 'Content-Type:application/json' --header 'X-Auth-Email:${{secrets.CLOUDFLARE_X_AUTH_EMAIL}}' --header 'X-Auth-Key:${{secrets.CLOUDFLARE_X_AUTH_KEY}}' --data '{"purge_everything":true}'