From b02c41c0403a5858dde8c4079d00b8fc1070fd6d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Sat, 9 Mar 2024 12:50:41 +0100 Subject: Generate Doxygen documentation --- .github/workflows/main.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/main.yml 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/ -- cgit v1.2.3