summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLevent Kaya <levent.kaya@codefirst.io>2024-11-26 02:10:38 +0300
committerLevent Kaya <levent.kaya@codefirst.io>2024-11-26 02:10:38 +0300
commit3a3086531d71f9fa242a584ecdc87613e32fd6b4 (patch)
tree2c05fbe03178e0684fd9a6e2ec8bea91606691ff /.github/workflows
parent410a2c0924466127c31dc06aa2d1915a187c1006 (diff)
[docs] refactor on workflow path
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/doxygen.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml
new file mode 100644
index 0000000..7525430
--- /dev/null
+++ b/.github/workflows/doxygen.yml
@@ -0,0 +1,25 @@
+name: Generate and Deploy Doxygen Documentation
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Set up Doxygen
+ run: sudo apt-get install -y doxygen graphviz
+
+ - name: Generate Doxygen documentation
+ run: doxygen Doxyfile
+
+ - name: Deploy to GitHub Pages
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: docs/html