Skip to content

Merge pull request #38 from playx-flutter/qa #8

Merge pull request #38 from playx-flutter/qa

Merge pull request #38 from playx-flutter/qa #8

name: Publish Docs to ghpages
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: flutter pub get
- run: dart doc
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/api