SequenceVariation.jl/.github/workflows/Documentation.yml

27 lines
649 B
YAML
Raw Normal View History

2022-07-05 14:29:51 +00:00
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 }}