Skip to content

Add flutter web support #1

Add flutter web support

Add flutter web support #1

name: Deploy to Github Pages
on:
push:
branches: [master]
paths-ignore:
- '**/README.md'
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
FLAVOR: "production"
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
- run: flutter pub get
- run: flutter packages pub run build_runner build --delete-conflicting-outputs
- uses: bluefireteam/flutter-gh-pages@v7
with:
baseHref: /flutter-project-template-bloc/
customArgs: --dart-define="flavor=$FLAVOR"