Skip to content

Commit 3793458

Browse files
committed
deploy to gh pages on master merge
1 parent f7e84b3 commit 3793458

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/deploy.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: gh-pages deploy
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: subosito/flutter-action@v1
14+
with:
15+
channel: 'beta'
16+
- uses: erickzanardo/flutter-gh-pages@v1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
on: push
21
name: Build flutter web
2+
on: push
33
jobs:
44
build:
55
runs-on: ubuntu-latest
6+
67
steps:
78
- uses: actions/checkout@v1
89
- uses: subosito/flutter-action@v1
910
with:
1011
channel: beta
1112
- run: flutter config --enable-web
1213
- run: flutter pub get
13-
- run: flutter build web
14+
- run: flutter build web

0 commit comments

Comments
 (0)