refacto: trad and when delete board return to the workspace #166
Workflow file for this run
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: Generate DartDoc and deploy to gh-pages | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
generate-documentation: | |
if: github.repository == 'eloiJhn/T-DEV-600-NAN_2' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '3.19.1' | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: stable | |
- name: Install DartDoc | |
run: dart pub global activate dartdoc | |
- name: Generate DartDoc | |
run: dart pub global run dartdoc --output=doc | |
- name: Deploy the doc to gh-pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc | |
publish_branch: gh-pages | |
user_name: eloiJhn | |
user_email: [email protected] |