From 0fd2034b7ffa91c7b029ea961db804bec79ff31f Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Sat, 19 Jul 2025 17:46:51 -0700 Subject: [PATCH] chore(workflows): update publish workflow to use wrangler --- .github/workflows/publish-dashboard.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-dashboard.yaml b/.github/workflows/publish-dashboard.yaml index dfd7d65a..5fff702a 100644 --- a/.github/workflows/publish-dashboard.yaml +++ b/.github/workflows/publish-dashboard.yaml @@ -44,16 +44,13 @@ jobs: uses: rlespinasse/git-commit-data-action@v1.5.0 - name: Publish to Cloudflare Pages - uses: cloudflare/pages-action@v1.5.0 + uses: cloudflare/wrangler-action@v3 id: deployment with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - gitHubToken: ${{ secrets.GITHUB_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: pockethost - directory: ./packages/dashboard/build - branch: ${{ github.head_ref || github.ref_name }} - wranglerVersion: '3' + gitHubToken: ${{ secrets.GITHUB_TOKEN }} + command: pages deploy ./packages/dashboard/build --project-name=pockethost --branch=${{ github.head_ref || github.ref_name }} - name: Discord feature branch notification if: github.ref_name != env.MAIN_BRANCH