Skip to content

update doxygen version #72 #16

update doxygen version #72

update doxygen version #72 #16

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 update
run: sudo apt-get install doxygen=1.13.2-1ubuntu1 graphviz -y

Check failure on line 21 in .github/workflows/deploy-docs.yml

View workflow run for this annotation

GitHub Actions / Deploy Doxygen Documentation

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-docs.yml (Line: 21, Col: 9): 'run' is already defined
# 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