Doxygen GitHub Pages Deploy #1
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 GitHub Pages Deploy | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
- name: Install Doxygen and Graphviz | |
run: | | |
sudo apt-get update | |
sudo apt-get install graphviz -y | |
wget https://www.doxygen.nl/files/doxygen-1.11.0.linux.bin.tar.gz | |
tar -xf doxygen-1.11.0.linux.bin.tar.gz | |
cd doxygen-1.11.0 | |
sudo make | |
sudo make install | |
- name: Mover a la carpeta y ejecutar Doxygen | |
run: | | |
cd doxygen_files | |
doxygen Doxyfile | |
touch html/.nojekyll | |
shell: bash | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4.6.3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: "gh-pages" | |
folder: "doxygen_files/html" | |
target_folder: false |