mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
fix(deploy): force production deployment on Cloudflare Pages
Add --branch main to wrangler pages deploy so tag-triggered deploys go to production instead of preview. Add app-v* tag for retriggering.
This commit is contained in:
1
.github/workflows/deploy-app.yml
vendored
1
.github/workflows/deploy-app.yml
vendored
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
- 'app-v*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
"build": "npm run build:web",
|
"build": "npm run build:web",
|
||||||
"build:web": "expo export --platform web",
|
"build:web": "expo export --platform web",
|
||||||
"build:web:tauri": "PASEO_WEB_PLATFORM=tauri expo export --platform web",
|
"build:web:tauri": "PASEO_WEB_PLATFORM=tauri expo export --platform web",
|
||||||
"deploy:web": "npm run build:web && wrangler pages deploy dist --project-name paseo-app"
|
"deploy:web": "npm run build:web && wrangler pages deploy dist --project-name paseo-app --branch main"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@getpaseo/expo-two-way-audio": "file:../expo-two-way-audio",
|
"@getpaseo/expo-two-way-audio": "file:../expo-two-way-audio",
|
||||||
|
|||||||
Reference in New Issue
Block a user