add web build with production config to nightly

This commit is contained in:
Salvatore Giordano
2021-06-18 11:59:31 +02:00
parent bd61de99db
commit 40b880e09c
2 changed files with 18 additions and 0 deletions
+14
View File
@@ -69,3 +69,17 @@ jobs:
with:
name: android-stream-chat-v1
path: packages/stream_chat_v1/build/app/outputs/apk/release/app-release.apk
build_and_deploy_web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1.4.0
with:
channel: 'stable'
- name: Copy production config
run: echo ${{ secrets.PRODUCTION_CONFIG }} > lib/app_config.dart
- run: flutter pub get
- run: pub global activate peanut
- run: flutter pub global run peanut:peanut
- run: git push origin --set-upstream gh-pages