Skip to content

Commit

Permalink
ci: migrate deprecated cloudflare-pages action to wrangler-action (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
svnnynior authored Oct 30, 2024
1 parent c40a5b7 commit de51a54
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit de51a54

Please sign in to comment.