summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-03-09 12:50:41 +0100
committerrodarima <rodarima@gmail.com>2024-03-09 14:29:24 +0100
commit60f135efac41eb15013b479f4947dd3e4d697bf4 (patch)
tree97a83f333d36cdcef1894622cfdec9422c050c58
parentc82e1b9c52b41c7290614ee571320467ed92cab0 (diff)
Generate Doxygen documentation
-rw-r--r--.github/workflows/main.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..91a72cd
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,31 @@
+name: Website and Doxygen
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Dillo Website repo
+ uses: actions/checkout@v4
+ with:
+ repository: 'dillo-browser/dillo-browser.github.io'
+ path: web
+ - name: Checkout Dillo repo
+ uses: actions/checkout@v4
+ with:
+ repository: 'dillo-browser/dillo'
+ path: dillo
+ - name: Build Doxygen docs
+ uses: mattnotmitt/doxygen-action@1.9.8
+ with:
+ working-directory: 'dillo/'
+ - name: Copy Doxygen docs to website directory
+ run: |
+ # For some reason they are generated by root user
+ cp -a dillo/html web/doxygen
+ - name: Archive docs
+ uses: actions/upload-artifact@v4
+ with:
+ name: website
+ path: web/