move app config to separate file and use a production version on master github actions

This commit is contained in:
Salvatore Giordano
2021-03-30 10:11:27 +02:00
parent da597795e3
commit 80be5d2bc5
5 changed files with 92 additions and 94 deletions
+4
View File
@@ -30,6 +30,8 @@ jobs:
- name: Flutter setup
run: |
flutter pub get
- name: Copy production config
run: echo ${{ secrets.PRODUCTION_CONFIG }} > lib/app_config.dart
- name: Build and release
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
@@ -54,6 +56,8 @@ jobs:
channel: 'stable'
- run: |
flutter pub get
- name: Copy production config
run: echo ${{ secrets.PRODUCTION_CONFIG }} > lib/app_config.dart
- name: Build
run: |
flutter build apk