Add documentation workflow

This commit is contained in:
Thomas A. Christensen II 2022-07-05 09:29:51 -05:00
parent a1f55d1c70
commit 48470028ca
Signed by: millironx
GPG key ID: 139C07724802BC5D

26
.github/workflows/Documentation.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Documentation
on:
push:
branches:
- master
- develop
- release/.*
tags: ['*']
pull_request:
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- run: julia --color=yes --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- run: julia --color=yes --project=docs docs/make.jl
env:
JULIA_PKG_SERVER: ""
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}