Skip to content

Commit 5001483

Browse files
committed
use wrangler version?
1 parent 8160413 commit 5001483

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,13 +1077,12 @@ jobs:
10771077
if-no-files-found: ignore
10781078

10791079
- name: Deploy Astro to Cloudflare
1080-
uses: cloudflare/pages-action@v1
1080+
uses: cloudflare/wrangler-action@v3
10811081
if: matrix.test-application == 'cloudflare-astro'
10821082
with:
10831083
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
10841084
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
1085-
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
1086-
directory: dist
1085+
command: pages deploy dist --project-name=${{ secrets.CLOUDFLARE_PROJECT_NAME }}
10871086
workingDirectory: ${{ runner.temp }}/test-application
10881087

10891088
job_required_jobs_passed:

0 commit comments

Comments
 (0)