Change api url #152
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
# From: https://github.com/nullromo/doxygen-example/blob/main/.github/workflows/main.yml | |
name: Doxygen Action | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Doxygen documentation for Backend | |
uses: mattnotmitt/[email protected] | |
with: | |
doxyfile-path: "./Doxyfile" | |
working-directory: "./backend" | |
- name: Build Doxygen documentation for Raspberry Pi | |
uses: mattnotmitt/[email protected] | |
with: | |
doxyfile-path: "./Doxyfile" | |
working-directory: "./raspberry_pi" | |
- name: Move Doxygen HTML files into their parent directories | |
run: | | |
sudo mv docs/backend/html/* docs/backend | |
sudo mv docs/raspberry_pi/html/* docs/raspberry_pi | |
- name: Build JSDoc documentation | |
uses: andstor/jsdoc-action@v1 | |
with: | |
config_file: "./frontend/jsdoc.config.json" | |
output_dir: './docs/frontend' | |
recurse: true | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |