Skip to content

Commit f99aeae

Browse files
committed
fix: test deployment again
1 parent 2e2f57e commit f99aeae

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
export PROJECT_NAME="polygon-token-list-staging"
2929
else
3030
export ENV=staging
31-
export PROJECT_NAME="polygon-token-list-preview"
31+
export PROJECT_NAME="polygon-token-list-staging"
3232
fi
3333
3434
echo "env=$ENV" >> "$GITHUB_OUTPUT"
@@ -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 Pages
45+
- name: Deploy to Cloudflare Workers
4646
uses: cloudflare/wrangler-action@v3
4747
with:
48-
command: pages deploy build --project-name ${{ needs.get-env.outputs.project-name }}
48+
environment: ${{ needs.get-env.outputs.env }}
4949
apiToken: ${{ secrets.CF_WORKER_API_TOKEN }}
5050
accountId: ${{ secrets.CF_WORKER_ACCOUNT_ID }}

wrangler.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ preview_urls = false
55
send_metrics = false
66
workers_dev = false
77

8-
# Pages configuration
9-
pages_build_output_dir = "build"
10-
118
# Static assets only - no worker needed
129
[assets]
1310
directory = "build"

0 commit comments

Comments
 (0)