forked from openfoodfacts/smooth-app
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 1.1 KB
/
dartdoc.yml
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
33
34
35
36
name: GitHub Pages Deploy Action
on:
push:
branches:
- "develop"
#- "dartdoc-smoothie"
jobs:
deploy-pages:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/smooth_app
steps:
- name: Chekout code
uses: actions/checkout@v4
- name: Setup Flutter
uses: actions/cache@v4
with:
path: ${{ runner.tool_cache }}/flutter
key: flutter-2.5.0-stable
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 2.5.0
- name: Run Dartdoc
run: pub global activate dartdoc && dartdoc
- name: Deploy API documentation to Github Pages
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: packages/smooth_app/doc/api/