refactor: unit tests - so that they work again (#769) #93
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: | |
- "master" | |
jobs: | |
deploy-pages: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
if: github.repository_owner == 'openfoodfacts' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1 | |
- name: Run Dartdoc | |
run: dart doc . | |
- name: Deploy API documentation to Github Pages | |
uses: JamesIves/[email protected] | |
with: | |
BRANCH: gh-pages | |
FOLDER: doc/api/ |