feat: github actions add FRONTEND_BRANCH env (#323)

This commit is contained in:
Dream Hunter
2024-06-28 23:04:08 +08:00
committed by GitHub
parent 881e66e484
commit 2a0a34869e
3 changed files with 19 additions and 4 deletions

View File

@@ -11,8 +11,10 @@
"build:telegram": "VITE_IS_TELEGRAM=true vite build -m prod --emptyOutDir",
"preview": "vite preview",
"deploy:telegram": "npm run build:telegram && wrangler pages deploy ./dist --branch production",
"deploy:actions:telegram": "npm run build:telegram && wrangler pages deploy ./dist",
"deploy:preview": "npm run build && wrangler pages deploy ./dist --branch preview",
"deploy": "npm run build && wrangler pages deploy ./dist --branch production"
"deploy": "npm run build && wrangler pages deploy ./dist --branch production",
"deploy:actions": "npm run build && wrangler pages deploy ./dist"
},
"dependencies": {
"@unhead/vue": "^1.9.14",