Skip to content

Commit

Permalink
ci: bump wrangler to v3 (#2262)
Browse files Browse the repository at this point in the history
Wrangler 3.0.0 renamed `publish` to `deploy`.

Supercedes #2259
  • Loading branch information
vilgotf committed Aug 14, 2023
1 parent 4b9ccfe commit 2841517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
- run: mdbook build book --dest-dir render

- name: Publish book
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages publish render --project-name twilight-book --commit-dirty=true --branch main
command: pages deploy render --project-name twilight-book --commit-dirty=true --branch main
workingDirectory: "book"

0 comments on commit 2841517

Please sign in to comment.