Skip to content

Merge branch 'hoangdv-flutter-master' #46

Merge branch 'hoangdv-flutter-master'

Merge branch 'hoangdv-flutter-master' #46

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Install
run: |
cd example
flutter config --enable-web
flutter clean
flutter pub get
- name: Build
run: |
cd example
flutter build web
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./example/build/web