ajout valve #931
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: Firmware Documentation | |
on: [push, pull_request] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create documentation directory | |
run: | | |
mkdir -p local/docs | |
- name: Generate documentation for firmware | |
uses: mattnotmitt/doxygen-action@v1 | |
- name: Archive all documentation | |
uses: actions/upload-artifact@v1 | |
with: | |
name: docs | |
path: local/docs/ | |
- name: Deploy all documentation | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
if: github.ref == 'refs/heads/master' | |
with: | |
BRANCH: gh-pages | |
FOLDER: local/docs/html/ | |
TARGET_FOLDER: ./ |