Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Merge pull request #4 from calypsonet/win-fix #4

Merge pull request #4 from calypsonet/win-fix

Merge pull request #4 from calypsonet/win-fix #4

name: Publish API documentation (snapshot)
on:
push:
branches:
- main
- doxygen
jobs:
publish-doc-snapshot:
runs-on: ubuntu-latest
steps:
- name: Check out repository code from ${{ github.repository }}/${{ github.ref }}
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Make scripts executable
run: chmod +x ./.github/scripts/*.sh
- name: Patch Doxyfile
working-directory: .
run: ./.github/scripts/patch_doxyfile.sh
- name: Generate project documentation with Doxygen
uses: mattnotmitt/doxygen-action@v1.9.2
with:
working-directory: .github/doxygen/
doxyfile-path: ./Doxyfile
- name: Prepare Doxygen doc page locally
working-directory: .
run: ./.github/scripts/prepare_doxygen.sh
- name: Deploy Doxygen documentation to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./${{ github.event.repository.name }}
enable_jekyll: true