summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLevent Kaya <levent.kaya@codefirst.io>2024-11-24 13:49:12 +0300
committerLevent Kaya <levent.kaya@codefirst.io>2024-11-24 13:49:12 +0300
commitc4b982cf5a6d89fee18237645b59274d41d0d7e6 (patch)
tree97a93fc5124bd7469d3645c1f32774d27f59f536 /.github
parent25d7a0decd62f3cc5a1812896dcb03348fd866e6 (diff)
[docs] doxygen gh page
Diffstat (limited to '.github')
-rw-r--r--.github/doxygen-gh-pages.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/doxygen-gh-pages.yml b/.github/doxygen-gh-pages.yml
new file mode 100644
index 0000000..7323d7e
--- /dev/null
+++ b/.github/doxygen-gh-pages.yml
@@ -0,0 +1,33 @@
+name: Deploy Doxygen Documentation
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Install Doxygen
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y doxygen graphviz
+
+ - name: Generate Doxygen Documentation
+ run: doxygen Doxyfile
+
+ - name: Deploy to GitHub Pages
+ if: github.ref == 'refs/heads/main' # Only deploy on main branch
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./docs/html
+ enable_jekyll: false
+ full_commit_message: Deploy Doxygen documentation \ No newline at end of file