Skip to content

Commit a0365fb

Browse files
committed
ci: use stable channel
1 parent 82c596b commit a0365fb

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/deploy.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@ jobs:
77
build:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/[email protected]
11-
- uses: subosito/[email protected]
12-
with:
13-
channel: dev
14-
- run: flutter config --enable-web
10+
- uses: actions/checkout@v2
11+
- uses: subosito/flutter-action@v1
1512
- run: flutter pub get
1613
- run: flutter pub global activate flutterdoc
1714
- run: flutter pub global run flutterdoc build
1815
- run: cd flutterdoc_gallery && flutter build web
19-
- uses: peaceiris/[email protected]
20-
env:
21-
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
22-
PUBLISH_BRANCH: gh-pages
23-
PUBLISH_DIR: ./flutterdoc_gallery/build/web
16+
- uses: peaceiris/actions-gh-pages@v3
17+
with:
18+
github_token: ${{ secrets.GITHUB_TOKEN }}
19+
publish_dir: ./flutterdoc_gallery/build/web

0 commit comments

Comments
 (0)