Skip to content

Build docs on tag push. #5

Build docs on tag push.

Build docs on tag push. #5

Workflow file for this run

name: docs
on:
push:
tags:
- 'v*'
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: init
run: sudo apt update -yqq && sudo apt install doxygen
- name: clone docs repo
run: mkdir out; cd out; git clone https://github.com/karnkaul/bave-docs docs
- name: build docs
run: cd docs; mkdir docs; cd ../..; doxygen Doxyfile
- name: create commit
run: cd out/docs; git add .; git commit -m "[Automated] Build docs."
- name: deploy docs
run: git push