]> git.seodisparate.com - EntityComponentMetaSystem/commitdiff
Add forgejo action to generate doxygen docs
authorStephen Seo <seo.disparate@gmail.com>
Mon, 15 Jan 2024 04:55:34 +0000 (13:55 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Mon, 15 Jan 2024 04:55:34 +0000 (13:55 +0900)
.forgejo/workflows/doxygen.yaml [new file with mode: 0644]

diff --git a/.forgejo/workflows/doxygen.yaml b/.forgejo/workflows/doxygen.yaml
new file mode 100644 (file)
index 0000000..4c6f402
--- /dev/null
@@ -0,0 +1,14 @@
+name: Publish doxygen documentation to seodisparate.com
+on:
+  push:
+    branches:
+      - 'master'
+
+jobs:
+  doxygen-gen-and-publish:
+    runs-on: archLinux
+    steps:
+      - run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/EntityComponentMetaSystem.git ECMS
+      - run: cd ECMS && git checkout master
+      - run: cd ECMS && doxygen
+      - run: rsync -r --delete ECMS/doxygen_html/html/ /srv/http/ECMS_docs/