Skip to content

Merge pull request #50 from COBREXA/mk-improve-doc #254

Merge pull request #50 from COBREXA/mk-improve-doc

Merge pull request #50 from COBREXA/mk-improve-doc #254

Workflow file for this run

# ref: https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#GitHub-Actions-1
name: Documentation
on:
pull_request:
push:
branches:
- master
tags: '*'
release:
types: [published, created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/cache@v1
- name: Install dependencies
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --color=yes --project=docs/ docs/make.jl