Build docs on tag push. #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |