From ef8b1ad0f9cbc248a4835553d32bee2c99375b4d Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:49:04 -0600 Subject: [PATCH] update CLOUDFLARE_ZONE_ID --- .github/workflows/release.yml | 1 + scripts/publish-s3.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 654493000..0ebe36e93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -220,6 +220,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} CLOUDFLARE_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_ACCESS_KEY_ID }} CLOUDFLARE_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_SECRET_ACCESS_KEY }} + CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }} - name: homebrew-tap push if: startsWith(github.event.ref, 'refs/tags/v') run: git push diff --git a/scripts/publish-s3.sh b/scripts/publish-s3.sh index 4852411ee..2e64d55fe 100755 --- a/scripts/publish-s3.sh +++ b/scripts/publish-s3.sh @@ -24,7 +24,6 @@ aws s3 cp artifacts/deb/pool/ "s3://$AWS_S3_BUCKET/deb/pool/" --cache-control "$ aws s3 cp artifacts/deb/dists/ "s3://$AWS_S3_BUCKET/deb/dists/" --cache-control "$cache_day" --no-progress --no-progress --recursive export CLOUDFLARE_ACCOUNT_ID=6e243906ff257b965bcae8025c2fc344 -export CLOUDFLARE_ZONE_ID=80d977fd09f01db52bec165778088891 curl --fail-with-body -X POST "https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/purge_cache" \ -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ -H "Content-Type: application/json" \