Skip to content

Merge pull request #72 from AlirezaDaryani/master #37

Merge pull request #72 from AlirezaDaryani/master

Merge pull request #72 from AlirezaDaryani/master #37

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
channel: 'dev'
- name: Install
run: |
flutter config --enable-web
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