forked from mattkretz/vir-simd
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 888 Bytes
/
Copy pathAPI-docs.yml
File metadata and controls
36 lines (28 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright © 2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
# Matthias Kretz <m.kretz@gsi.de>
name: Deploy API docs
on:
push:
branches:
- master
- 'release/**'
permissions:
contents: write # Needed to push to gh-pages
jobs:
doxygen:
runs-on: ubuntu-latest
container:
image: ghcr.io/mattkretz/cplusplus-ci/doxygen
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Generate documentation
run: make docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html # or wherever your Doxygen HTML output goes
destination_dir: ${{ github.ref_name }}
publish_branch: gh-pages