Skip to content

Commit 120ab34

Browse files
committed
fix: update workflow to deploy to Cloudflare Pages
1 parent 7ed1287 commit 120ab34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
- uses: actions/setup-node@v5
4343
- run: npm ci
4444
- run: npm run build
45-
- name: Deploy to Cloudflare Workers
45+
- name: Deploy to Cloudflare Pages
4646
uses: cloudflare/wrangler-action@v3
4747
with:
48-
environment: ${{ needs.get-env.outputs.env }}
48+
command: pages deploy build --project-name ${{ needs.get-env.outputs.project-name }}
4949
apiToken: ${{ secrets.CF_WORKER_API_TOKEN }}
5050
accountId: ${{ secrets.CF_WORKER_ACCOUNT_ID }}

0 commit comments

Comments
 (0)