Skip to content

Merge branch 'main' of https://github.com/perazz/fortran-lapack #12

Merge branch 'main' of https://github.com/perazz/fortran-lapack

Merge branch 'main' of https://github.com/perazz/fortran-lapack #12

Workflow file for this run

# Deploy documentation to gh-pages
name: Deploy Doxygen Documentation
on:
push:
branches:
- main # Trigger the workflow on changes to the `main` branch
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
# Step 2: Set up Doxygen
- name: Install Doxygen and Graphviz
run: sudo apt-get install doxygen graphviz -y
# Step 3: Generate Doxygen documentation
- name: Generate Doxygen Documentation
run: cd project/doxygen && doxygen
# Step 4: Ensure no Jekyll is present
- name: Create .nojekyll file
run: echo "" > ./project/doxygen/html/.nojekyll
# Step 5: Deploy to `gh-pages` branch
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./project/doxygen/html