File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate Doxygen Documentation
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ jobs :
10+ generate-docs :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ # Step 1: Check-out current repository
15+ - name : Checkout current repository
16+ uses : actions/checkout@v4
17+
18+ # Step 2: Clone SinricPro repository
19+ - name : Clone external repository
20+ run : |
21+ git clone https://github.com/sinricpro/esp8266-esp32-sdk
22+
23+ # Step 3: Install Doxygen
24+ - name : Install Doxygen
25+ run : |
26+ sudo apt-get install -y doxygen graphviz
27+
28+ # Step 4: Generate Documentation
29+ - name : Generate Documentation
30+ run : |
31+ doxygen Doxyfile
32+
33+ # Step 5: Deploy to GitHub Pages
34+ - name : Deploy to GitHub Pages
35+ uses : peaceiris/actions-gh-pages@v4
36+ with :
37+ github_token : ${{ secrets.GITHUB_TOKEN }}
38+ publish_dir : ./docs
You can’t perform that action at this time.
0 commit comments