feat: support github action deploy telegram mini app frontend (#730)

This commit is contained in:
Dream Hunter
2025-09-22 21:25:15 +08:00
committed by GitHub
parent 5e24817de6
commit 6ae90be3bf
2 changed files with 9 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
"build:pages": "vite build -m pages --emptyOutDir",
"build:pages:nopwa": "VITE_PWA_DISABLED=true vite build -m pages --emptyOutDir",
"build:telegram": "VITE_IS_TELEGRAM=true vite build -m prod --emptyOutDir",
"build:telegram:pages": "VITE_IS_TELEGRAM=true vite build -m pages --emptyOutDir",
"build:telegram:release": "VITE_IS_TELEGRAM=true vite build -m example --emptyOutDir",
"preview": "vite preview",
"deploy:telegram": "npm run build:telegram && wrangler pages deploy ./dist --branch production",