Skip to content

Move files to parent directory #7

Move files to parent directory

Move files to parent directory #7

# 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
uses: mattnotmitt/[email protected]
with:
doxyfile-path: "./Doxyfile"
working-directory: "./backend"
- name: Move Doxygen HTML files into Doxygen directory
run: |
mv docs/doxygen/html/* .
working-directory: ${{ github.workspace }}
- name: Build JSDoc documentation
uses: andstor/jsdoc-action@v1
with:
config_file: "./frontend/jsdoc.config.json"
output_dir: './docs/jsdoc'
recurse: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs