feat/ 添加app-expo三种环境切换,待测试 调整tts
This commit is contained in:
9
.github/workflows/app-expo-deploy.yml
vendored
9
.github/workflows/app-expo-deploy.yml
vendored
@@ -92,6 +92,15 @@ jobs:
|
||||
npm run lint
|
||||
npm run test:ci
|
||||
|
||||
- name: Set API environment
|
||||
working-directory: app-expo
|
||||
run: |
|
||||
case "${{ steps.env.outputs.env }}" in
|
||||
prod) node scripts/use-env.js production ;;
|
||||
stage) node scripts/use-env.js staging ;;
|
||||
*) node scripts/use-env.js development ;;
|
||||
esac
|
||||
|
||||
- name: Export web build
|
||||
working-directory: app-expo
|
||||
run: npx expo export -p web
|
||||
|
||||
Reference in New Issue
Block a user