mirror of
https://github.com/pantor/inja.git
synced 2026-06-10 12:59:51 +00:00
Update and rename main.yml to documentation.yml
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: depedencies
|
||||
env:
|
||||
dependency_packages: doxygen
|
||||
run: apt-get update && 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
|
||||
Reference in New Issue
Block a user