Skip to content

Commit

Permalink
Build docs on tag push.
Browse files Browse the repository at this point in the history
  • Loading branch information
karnkaul committed Jun 30, 2024
1 parent f07da7c commit 20c1815
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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: git clone https://github.com/karnkaul/bave-docs docs
- name: build docs
run: mkdir -p out/docs; doxygen Doxyfile
- name: create commit
run: cd out/docs; git add .; git commit -m "[Automated] Build docs."
- name: deploy docs
run: git push

0 comments on commit 20c1815

Please sign in to comment.