First cut at CI workflows (#6)

Co-authored-by: Shrukan <shrukan@shrukanslab.xyz>
Reviewed-on: sl-devs/CppTemplate#6
This commit is contained in:
2024-02-17 22:32:19 +00:00
parent 8c951468d9
commit 395866a0f8
4 changed files with 116 additions and 100 deletions

View File

@ -0,0 +1,25 @@
name: Build Docs
run-name: ${{ gitea.ref }} Build
on:
push:
jobs:
build-docs:
runs-on: ubuntu-latest
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build docs
run: just docs
- name: Compress docs
run: tar -czf build/docs.tar.gz build/docs
- name: Archive docs
uses: actions/upload-artifact@v4
with:
name: docs
path: build/docs.tar.gz
retention-days: 5