mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-14 02:39:59 +01:00
added deployment step in ci + doxygen theme
This commit is contained in:
25
.github/workflows/auto-doxygen.yml
vendored
25
.github/workflows/auto-doxygen.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user