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 fetch-depth: 0 # Required for "git describe" to work properly - name: Set the Dillo git commit in Doxygen config working-directory: dillo/ run: | sed -i "s/^PROJECT_NUMBER *=/PROJECT_NUMBER=$(git describe)/" Doxyfile grep PROJECT_NUMBER Doxyfile - 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/