Skip to content

feat(llc, samples): improve follow counts (#49) #43

feat(llc, samples): improve follow counts (#49)

feat(llc, samples): improve follow counts (#49) #43

name: App Distribute CI
on:
push:
branches:
- main
release:
types: [published]
workflow_dispatch:
inputs:
flavor:
type: choice
description: Build flavor
options:
- beta
- prod
build_web:
type: boolean
description: Web
default: true
env:
FLUTTER_VERSION: "3.x"
FLUTTER_CHANNEL: stable
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_and_deploy_web:
name: Build and Deploy Dogfooding Web
runs-on: ubuntu-latest
timeout-minutes: 10
if: ${{ github.event_name == 'push' || github.event_name == 'release' || inputs.build_web == true }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
cache: true
channel: ${{ env.FLUTTER_CHANNEL }}
flutter-version: ${{ env.FLUTTER_VERSION }}
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
- name: Install Tools
run: flutter pub global activate melos
- name: Bootstrap Workspace
run: melos bootstrap
- name: Build and Deploy
uses: bluefireteam/flutter-gh-pages@v9
with:
baseHref: /stream-feeds-flutter/
workingDir: sample_app