From d5e5773054a93704666aa4348975121f86f1ac45 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 18 Jun 2026 13:50:24 -0500 Subject: [PATCH] Revert "deploy to cloudflare pages (#477)" This reverts commit 51f26182a1bdef911171fb9c8575ed7c9686ff31. --- .github/workflows/deploy.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5eecdab6..2c996cb9 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,5 +1,10 @@ name: deploy -on: [push] +on: + workflow_dispatch: + pull_request: + push: + branches: + - production jobs: deploy: @@ -9,7 +14,6 @@ jobs: permissions: id-token: write contents: read - deployments: write steps: - name: Checkout @@ -47,10 +51,9 @@ jobs: --output=built \ --base=https://frontside.com - - name: Upload To Cloudflare Pages - uses: cloudflare/wrangler-action@v3 + - name: Upload to Deno Deploy + uses: denoland/deployctl@v1 with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages deploy built --project-name=frontside - gitHubToken: ${{ secrets.GITHUB_TOKEN }} + project: frontside + entrypoint: "jsr:@std/http/file-server" + root: built