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

23 lines
535 B
YAML
Raw Normal View History

2020-11-14 09:59:32 +01:00
name: deploy
on:
push:
branches:
- main
jobs:
build:
2020-11-14 10:07:36 +01:00
runs-on: ubuntu-latest
2020-11-14 09:59:32 +01:00
steps:
2020-11-14 10:06:24 +01:00
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
2020-11-14 09:59:32 +01:00
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