-
-
Notifications
You must be signed in to change notification settings - Fork 36
32 lines (29 loc) · 708 Bytes
/
Copy pathbuild-docs.yaml
File metadata and controls
32 lines (29 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build MkDocs
on:
workflow_dispatch:
workflow_run:
workflows: ["Publish new plugin version"]
types:
- completed
push:
branches:
- release
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.7.7"
channel: "stable"
- run: |
flutter --version
flutter pub get
flutter analyze --fatal-infos
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: mkdocs.yaml
EXTRA_PACKAGES: build-base