Commit b6451cb 1 parent 069a547 commit b6451cb Copy full SHA for b6451cb
File tree 1 file changed +2
-12
lines changed
1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 59
59
PUBLIC_GTAG : ${{ secrets.PUBLIC_GTAG }}
60
60
61
61
- name : Publish to Cloudflare Pages
62
- uses : cloudflare/pages -action@v1.5.0
62
+ uses : cloudflare/wrangler -action@v3
63
63
with :
64
64
apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
65
65
accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
66
- projectName : ${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME }}
67
- directory : dist/client
68
- # Optional: Enable this if you want to have GitHub Deployments triggered
69
- gitHubToken : ${{ secrets.GITHUB_TOKEN }}
70
- # Optional: Switch what branch you are publishing to.
71
- # By default, this will be the branch which triggered this workflow
72
- branch : main
73
- # Optional: Change the working directory
66
+ command : pages deploy dist/client --project-name=${{ secrets.CLOUDFLARE_PAGES_PROJECT_NAME }} --branch=main
74
67
workingDirectory : website
75
- # Optional: Change the Wrangler version, allows you to point to a specific version or a tag such as `beta`
76
- wranglerVersion : ' 3'
77
-
You can’t perform that action at this time.
0 commit comments