Skip to content

Continuous Delivery #18

Continuous Delivery

Continuous Delivery #18

name: continuous-delivery
on:
workflow_dispatch
env:
FLUTTER_VERSION: 3.22.1
jobs:
continuous-delivery-android:
runs-on: ubuntu-latest
defaults:
run:
working-directory: app/android
steps:
- name: 📚 Git checkout
uses: actions/checkout@v3
- name: 🐦 Install flutter
uses: subosito/flutter-action@v2
with:
cache: true
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: 💎 Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Write google services
shell: bash
run: |
echo "$DEV_GOOGLE_SERVICE" | base64 --decode > ./app/android/app/google-services.json
- run: bundle install
- name: 🚀 Deploy Android development application
run: bundle exec fastlane development
# continuous-delivery-ios:
# runs-on: macos-latest
# defaults:
# run:
# working-directory: app/ios
# steps:
# - name: 📚 Git checkout
# uses: actions/checkout@v3
# - name: 🐦 Install flutter
# uses: subosito/flutter-action@v2
# with:
# cache: true
# channel: stable
# flutter-version: ${{ env.FLUTTER_VERSION }}
# - name: 💎 Install ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: '3.3'
# bundler-cache: true
# - run: bundle install
# - name: 🚀 Deploy Android development application
# run: bundle exec fastlane development