mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 23:39:19 +08:00
e14c6646f6
Change-Id: If5af0b7022c56e45a66742feca199fa798829e54
30 lines
807 B
YAML
30 lines
807 B
YAML
name: doxygen-github-pages
|
|
|
|
on:
|
|
push:
|
|
branches: master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Set Actions Allow Unsecure Commands (temporary)
|
|
run: |
|
|
echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2.3.1
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install doxygen
|
|
run: sudo apt install doxygen graphviz fonts-freefont-ttf
|
|
- name: Build html docs
|
|
run: make doxygen && cp -R .circleci docs/html/
|
|
- name: Deploy gh-pages
|
|
uses: JamesIves/github-pages-deploy-action@3.5.7
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: docs/html
|
|
CLEAN: true
|
|
SINGLE_COMMIT: true
|