Handle missing DCO peer by restarting the session #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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/[email protected] |