Skip to content

Commit

Permalink
fix: Add .env.staging and fix workflow build
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesvedder committed Jul 5, 2022
1 parent 827ebba commit 5f6138a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ name: Deploy to Firebase Hosting on merge
push:
branches:
- dev
- dev-designer_v2
jobs:
build_and_deploy:
runs-on: ubuntu-latest
Expand All @@ -23,7 +22,7 @@ jobs:
- name: "Bootstrap Workspace"
run: melos bootstrap
- name: "Build Web"
run: melos run build:web:staging --no-select
run: melos run build:web --no-select
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: "Bootstrap Workspace"
run: melos bootstrap
- name: "Build Web"
run: melos run build:web:staging --no-select
run: melos run build:web --no-select
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
1 change: 1 addition & 0 deletions flutter_common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ flutter:
assets:
- packages/studyu_flutter_common/envs/.env
- packages/studyu_flutter_common/envs/.env.local
- packages/studyu_flutter_common/envs/.env.staging
- packages/studyu_flutter_common/envs/.env.selfhost
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ scripts:
run: |
melos exec -c 2 --fail-fast -- \
"flutter build web --web-renderer auto --no-tree-shake-icons --dart-define=ENV=.env.staging"
description: Build app staging for Web.
description: Build web staging.
select-package:
dir-exists: web

Expand Down

0 comments on commit 5f6138a

Please sign in to comment.