From 7c922ba910081998cd64d69f05dfd1bb45026963 Mon Sep 17 00:00:00 2001 From: Tim Vilgot Mikael Fredenberg Date: Mon, 14 Aug 2023 08:18:50 +0200 Subject: [PATCH] ci: bump wrangler to v3 (#2262) Wrangler 3.0.0 renamed `publish` to `deploy`. Supercedes #2259 --- .github/workflows/book.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 69959bfc487..19eaee6eda5 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -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@3 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"