Skip to content

feat: add gio endpoint doc & update definitions #22

feat: add gio endpoint doc & update definitions

feat: add gio endpoint doc & update definitions #22

Workflow file for this run

name: Docker
on: [push]
jobs:
build:
name: Documentation build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build documentation
run: make
- uses: actions/upload-artifact@master
with:
name: docs
path: docs/
- name: Create zip file with documentation
if: startsWith(github.ref, 'refs/tags/v')
run: zip -r docs.zip docs/
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
prerelease: true
files: docs.zip
env:
GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}