Auto build documentation
This commit is contained in:
parent
122e428efe
commit
01c1b5082f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user