aboutsummaryrefslogtreecommitdiff
path: root/portmidi/.github/workflows/docs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'portmidi/.github/workflows/docs.yml')
-rw-r--r--portmidi/.github/workflows/docs.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/portmidi/.github/workflows/docs.yml b/portmidi/.github/workflows/docs.yml
new file mode 100644
index 0000000..d0e251b
--- /dev/null
+++ b/portmidi/.github/workflows/docs.yml
@@ -0,0 +1,28 @@
1name: Generate Docs
2
3on:
4 push:
5 branches:
6 - main
7 workflow_dispatch:
8
9jobs:
10 doxygen:
11 name: Doxygen
12 runs-on: ubuntu-latest
13 steps:
14 - name: "Check out repository"
15 uses: actions/checkout@v2
16
17 - name: Install Doxygen
18 run: sudo apt-get update && sudo apt-get install -y --no-install-recommends doxygen
19
20 - name: Generate Documentation
21 run: doxygen
22 working-directory: .
23
24 - name: Deploy to GitHub Pages
25 uses: peaceiris/actions-gh-pages@v3
26 with:
27 github_token: ${{ secrets.GITHUB_TOKEN }}
28 publish_dir: docs/html