added deployment step in ci + doxygen theme

This commit is contained in:
Int-Circuit
2025-04-01 17:27:41 +02:00
parent 34ee4ebf49
commit 179a9db0cb
6 changed files with 10331 additions and 3 deletions

View File

@@ -15,9 +15,30 @@ jobs:
submodules: 'recurive'
- name: Setup and run doxygen
run: |
sudo apt install doxygen -y
sudo apt install doxygen graphviz -y
doxygen Doxyfile
- uses: actions/upload-artifact@v4
with:
name: HTML_doxygen
path: qelectrotech-source-mirror/doc/
path: qelectrotech-source-mirror/doc/html/
deploy:
# Add a dependency to the build job
needs: doxygen
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action