File tree Expand file tree Collapse file tree 6 files changed +921
-13
lines changed
Expand file tree Collapse file tree 6 files changed +921
-13
lines changed Load Diff This file was deleted.
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 : Setup yarn
13+ uses : actions/setup-node@v3
14+ with :
15+ cache : ' yarn'
16+ node-version : ' 24'
17+ - name : Build
18+ run : |
19+ yarn install
20+ yarn build
21+ - name : Deploy
22+ uses : cloudflare/wrangler-action@v3
23+ with :
24+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
25+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
26+ command : pages deploy public --project-name=rescript-lang.org
27+ # Optional: Enable this if you want to have GitHub Deployments triggered
28+ gitHubToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -57,5 +57,11 @@ app/**/*.jsx
5757! .yarn /sdks
5858! .yarn /versions
5959
60+ # wrangler
61+ .wrangler
62+
6063# Scripts generated from rolldown to convert them from .jsx files to .mjs files
61- _scripts
64+ _scripts
65+
66+ # Local env files
67+ .env
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+ }
Original file line number Diff line number Diff line change 9393 "vite" : " ^7.0.6" ,
9494 "vite-plugin-devtools-json" : " ^1.0.0" ,
9595 "vite-plugin-env-compatible" : " ^2.0.1" ,
96- "vite-plugin-page-reload" : " ^0.2.2"
96+ "vite-plugin-page-reload" : " ^0.2.2" ,
97+ "wrangler" : " ^4.52.0"
9798 }
9899}
You can’t perform that action at this time.
0 commit comments