ci: Create merge-conflict-autolabel.yml (#958) #372
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@v4 | |
- 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/ |