mirror of
https://github.com/pantor/inja.git
synced 2026-02-20 02:16:23 +00:00
28 lines
575 B
YAML
28 lines
575 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: dependencies
|
|
env:
|
|
dependency_packages: doxygen
|
|
run: sudo apt-get update && sudo apt-get -y install ${dependency_packages}
|
|
|
|
- name: build
|
|
run: cd doc && doxygen ./Doxyfile
|
|
|
|
- name: deploy
|
|
uses: peaceiris/actions-gh-pages@v2.2.0
|
|
env:
|
|
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
PUBLISH_BRANCH: gh-pages
|
|
PUBLISH_DIR: ./doc/html
|