Skip to content

Commit

Permalink
Create make-doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
c-h-benedetti authored Jun 30, 2024
1 parent de13571 commit f1a9306
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/make-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docs
on:
push:
branches:
- main
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install -y doxygen
- name: Doxygen build
run: |
cd ./docs
doxygen Doxyfile
cd ..
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html
force_orphan: true

0 comments on commit f1a9306

Please sign in to comment.