Skip to content

Commit 98b5127

Browse files
authored
Criação do Workflow para doxygen.yml
1 parent 0efe210 commit 98b5127

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/doxygen.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build and Deploy Doxygen Docs
2+
3+
on:
4+
push:
5+
branches: [ main ] # sempre que atualizar a main, a doc é regenerada
6+
7+
jobs:
8+
docs:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v3
13+
14+
- name: Install dependencies
15+
run: |
16+
sudo apt-get update
17+
sudo apt-get install -y doxygen graphviz
18+
19+
- name: Build documentation
20+
run: doxygen Doxyfile
21+
22+
- name: Deploy to GitHub Pages
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./docs/html

0 commit comments

Comments
 (0)