git-touch-android-ios-app/.github/workflows/deploy.yml

23 lines
535 B
YAML

name: deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: dev
- run: |
flutter config --enable-web
flutter pub get
flutter build web
- uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./build/web/
external_repository: git-touch/git-touch.github.io