We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82c596b commit a0365fbCopy full SHA for a0365fb
.github/workflows/deploy.yml
@@ -7,17 +7,13 @@ jobs:
7
build:
8
runs-on: ubuntu-latest
9
steps:
10
- - uses: actions/[email protected]
11
- - uses: subosito/[email protected]
12
- with:
13
- channel: dev
14
- - run: flutter config --enable-web
+ - uses: actions/checkout@v2
+ - uses: subosito/flutter-action@v1
15
- run: flutter pub get
16
- run: flutter pub global activate flutterdoc
17
- run: flutter pub global run flutterdoc build
18
- 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
+ - uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./flutterdoc_gallery/build/web
0 commit comments