diff options
-rw-r--r-- | .github/workflows/main.yml | 31 |
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/ |