File tree Expand file tree Collapse file tree 4 files changed +29
-1
lines changed
Expand file tree Collapse file tree 4 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 11VITE_VERSION_LATEST = " v11.0.0"
2- VITE_VERSION_NEXT = " v12.0.0"
2+ VITE_VERSION_NEXT = " v12.0.0"
3+ CLOUDFLARE_TOKEN = DclQjcKZx4HmlLqvoiLGYpkl2Iv9oJjF0ZWNi4it
4+ CLOUDFLARE_ACCOUNT_ID = a977fc2668d151aa78c0f06261e22085
Original file line number Diff line number Diff line change 1+ on : [push]
2+
3+ jobs :
4+ deploy :
5+ runs-on : ubuntu-latest
6+ name : Deploy
7+ permissions :
8+ contents : read
9+ deployments : write
10+ steps :
11+ - uses : actions/checkout@v4
12+ - name : Deploy
13+ uses : cloudflare/wrangler-action@v3
14+ with :
15+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
16+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
17+ command : pages deploy YOUR_DIST_FOLDER --project-name=example
18+ # Optional: Enable this if you want to have GitHub Deployments triggered
19+ gitHubToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -51,3 +51,6 @@ app/**/*.mjs
5151! .yarn /releases
5252! .yarn /sdks
5353! .yarn /versions
54+
55+ # wrangler
56+ .wrangler
Original file line number Diff line number Diff line change 1+ export function onRequest ( context ) {
2+ const url = new URL ( context . request . url ) ;
3+ return new Response ( url . searchParams . toString ( ) ) ;
4+ }
You can’t perform that action at this time.
0 commit comments