Skip to content

Bump Android CI macOS version #1055

Bump Android CI macOS version

Bump Android CI macOS version #1055

Workflow file for this run

name: Build doxygen
on:
push:
branches: ["master", "dev"]
pull_request:
branches: ["dev"]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
doxygen:
runs-on: ubuntu-latest
container: seladb/ubuntu2204:latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Checkout docs repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: PcapPlusPlus/pcapplusplus.github.io
path: pcapplusplus.github.io
- name: Run doxygen
run: |
cd pcapplusplus.github.io/static/api-docs/next/doxygen
doxygen Doxyfile-ci
- name: Prepare documentation
if: github.ref == 'refs/heads/master'
run: |
cd pcapplusplus.github.io/static/api-docs/
find next/ -maxdepth 1 -type f -exec rm {} \;
rm -rf next/search/
mv next/html/* next/
- name: Upload documentation
if: github.ref == 'refs/heads/master'
uses: cpina/github-action-push-to-another-repository@07c4d7b3def0a8ebe788a8f2c843a4e1de4f6900 # main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: pcapplusplus.github.io
destination-github-username: "PcapPlusPlus"
destination-repository-name: "pcapplusplus.github.io"
user-email: noreply@github.com
commit-message: Update API documentation for commit ORIGIN_COMMIT
target-branch: master