fix: Fix external links (#5754) #820
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |