1
0
mirror of https://github.com/git-touch/git-touch synced 2025-02-15 11:00:45 +01:00

23 lines
535 B
YAML
Raw Normal View History

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