From de51a54c6ef5448ba25336d8fdb8e0f8d3358ee9 Mon Sep 17 00:00:00 2001 From: svnnynior Date: Wed, 30 Oct 2024 17:48:45 +1100 Subject: [PATCH] ci: migrate deprecated cloudflare-pages action to wrangler-action (#154) --- .github/workflows/staging.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index ce426935..f12a1b3b 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -54,11 +54,8 @@ jobs: with: name: ${{ env.ARTIFACT }} - name: Publish to Cloudflare Pages - uses: cloudflare/pages-action@v1 + uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: parliament-watch - directory: ./ - branch: ${{ github.ref_name }} - gitHubToken: ${{ secrets.GITHUB_TOKEN }} + command: pages deploy ./ --project-name=parliament-watch --branch=${{ github.ref_name }}