-
-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (33 loc) · 1.03 KB
/
doxygen-gh-pages.yml
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
37
38
39
40
name: Doxygen GitHub Pages Deploy Action
on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-ecosystem/action-get-latest-tag@v1.6.0
id: get-latest-tag
- run: |
shopt -s dotglob
sudo rm -rf ./*
shopt -u dotglob
shell: bash
- name: Install Graphviz
run: sudo apt-get install graphviz -y
shell: bash
- name: Clone Doxygen Awesome theme
run: sudo git clone https://github.com/jothepro/doxygen-awesome-css.git /opt/doxygen-awesome-css
shell: bash
- uses: DenverCoder1/doxygen-github-pages-action@v1.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
RELEASE_VERSION: ${{ steps.get-latest-tag.outputs.tag }}
env:
REPO_NAME: ${{ github.event.repository.name }}
REPO_DESCRIPTION: ${{ github.event.repository.description }}