Auto build documentation

This commit is contained in:
Anton Reinhard 2023-08-26 21:00:14 +02:00
parent 122e428efe
commit 01c1b5082f

View File

@ -1,4 +1,4 @@
name: Test
name: MetagraphOptimization_CI
on: [push]
@ -44,3 +44,16 @@ jobs:
- name: Run examples
run: julia --project=examples/ -t 4 -e 'import Pkg; Pkg.develop(Pkg.PackageSpec(path=pwd())); Pkg.instantiate(); include("examples/import_bench.jl")' -O3
- name: Build docs
run: |
cd docs
julia --project=. make.jl
zip web_docs.zip build/* -r
cd ..
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: web-doc
path: build/web_docs.zip