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:
Mohamed Boudra
2026-03-15 11:08:53 +07:00
parent 26c7f3f5f3
commit e80db346da
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ on:
push: push:
tags: tags:
- 'v*' - 'v*'
- 'app-v*'
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View File

@@ -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",