new file mode 100644
@@ -0,0 +1,53 @@
+name: Deploy Doxygen documentation to Pages
+on:
+ push:
+ branches: ["master"]
+ workflow_dispatch:
+concurrency:
+ group: "pages"
+ cancel-in-progress: false
+jobs:
+ build:
+ runs-on: ubuntu-24.04
+ steps:
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
+ with:
+ path: openvpn
+
+ - name: Install dependencies
+ run: |
+ sudo apt update
+ sudo apt install -y --no-install-recommends \
+ build-essential doxygen graphviz \
+ liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev libnl-genl-3-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf libssl-dev
+
+ - name: Build Doxygen documentation
+ id: build
+ run: |
+ cd openvpn
+ autoreconf -f -i
+ cd ..
+ mkdir doxygen
+ cd doxygen
+ ../openvpn/configure
+ make doxygen
+ touch doc/doxygen/html/.nojekyll
+ - name: Upload static files as artifact
+ id: deployment
+ uses: actions/upload-pages-artifact@v3.0.1
+ with:
+ path: doxygen/doc/doxygen/html/
+
+ deploy:
+ needs: build
+ permissions:
+ pages: write # to deploy to Pages
+ id-token: write # to verify the deployment originates from an appropriate source
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ runs-on: ubuntu-24.04
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v4.0.5
Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/887?usp=email to review the following change. Change subject: GHA: Publish Doxygen documentation to Github Pages ...................................................................... GHA: Publish Doxygen documentation to Github Pages To make it more easily available to everyone. Change-Id: I3922714972fffb3d7b1592f882d09c1fe1137241 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> --- A .github/workflows/doxygen.yml 1 file changed, 53 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/87/887/1