EntityComponentMetaSystem/.github/workflows/gh-pages.yml

28 lines
689 B
YAML
Raw Normal View History

name: GitHub Pages Generated Doxygen Docs
on:
push:
branches:
- master
jobs:
build-deploy-doxygen-docs:
if: github.repository == 'Stephen-Seo/EntityComponentMetaSystem'
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Generate Doxygen Documentation
uses: mattnotmitt/doxygen-action@v1
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doxygen_html/html