add full working doxygen documentation to project #8
Workflow file for this run
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: Doxygen | |
on: | |
pull_request: | |
branches: ["main"] | |
permissions: | |
pages: write | |
deployments: write | |
id-token: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
# Клонируем сам репозиторий | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install Doxygen | |
run: sudo apt install doxygen && doxygen --version | |
- name: Install Graphviz | |
run: sudo apt install graphviz | |
- name: Run Doxygen | |
run: doxygen doxyfile | |
- name: Upload Docs | |
run: echo "Upload Docs" | |
- name: Upload Docs | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload entire repository | |
path: './doxygen/html/' | |
- name: Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: Deploy To GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 | |