mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-25 04:24:42 -05:00
feat: web deployment
This commit is contained in:
22
.github/workflows/deploy.yml
vendored
Normal file
22
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1.1.0
|
||||
- uses: subosito/flutter-action@v1.1.1
|
||||
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
|
||||
Reference in New Issue
Block a user