From 385c071ea151a9e837826160190e071a8d40e003 Mon Sep 17 00:00:00 2001 From: platane Date: Sun, 17 Mar 2024 07:59:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/_test-e2e.yml | 2 +- .github/workflows/main.yml | 2 +- .github/workflows/publish-production.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_test-e2e.yml b/.github/workflows/_test-e2e.yml index 495dac3..f226a4b 100644 --- a/.github/workflows/_test-e2e.yml +++ b/.github/workflows/_test-e2e.yml @@ -12,7 +12,7 @@ on: value: ${{ jobs.collect-report.outputs.report_url }} secrets: CLOUDFLARE_ACCOUNT_ID: - CLOUDFLARE_PUBLISH_TOKEN: + CLOUDFLARE_API_TOKEN: jobs: e2e: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0394cc..625c225 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: id: publish uses: cloudflare/pages-action@1 with: - apiToken: ${{ secrets.CLOUDFLARE_PUBLISH_TOKEN }} + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} projectName: timezone-rocks directory: dist diff --git a/.github/workflows/publish-production.yml b/.github/workflows/publish-production.yml index 9ca5a05..9a324b4 100644 --- a/.github/workflows/publish-production.yml +++ b/.github/workflows/publish-production.yml @@ -28,7 +28,7 @@ jobs: - run: bunx wrangler pages deploy dist --project-name=timezone-rocks --branch=main env: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_PUBLISH_TOKEN }} + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} e2e: needs: [publish-production]