mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 05:19:55 +00:00
Add documentation workflow
This commit is contained in:
parent
a1f55d1c70
commit
48470028ca
1 changed files with 26 additions and 0 deletions
26
.github/workflows/Documentation.yml
vendored
Normal file
26
.github/workflows/Documentation.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue