File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,15 @@ jobs:
3737 - name : Build Wasm Assets
3838 run : npm run build:wasm-assets
3939
40- - name : Deploy Frontend
41- run : npm run deploy:cf
42- env :
43- CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
44- CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
40+ - name : Build Next.js application
41+ run : npx @opennextjs/cloudflare build
42+
43+ - name : Deploy Next.js to Cloudflare Pages
44+ uses : cloudflare/wrangler-action@v3
45+ with :
46+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
47+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
48+ command : pages deploy .open-next --project-name=rgou-main --branch=main
4549
4650 - name : Deploy AI Worker to Cloudflare Workers
4751 run : npm run deploy:worker
You can’t perform that action at this time.
0 commit comments