Skip to content

Merge pull request #51 from PharmCat/dev #327

Merge pull request #51 from PharmCat/dev

Merge pull request #51 from PharmCat/dev #327

Workflow file for this run

name: Documenter
on:
push:
branches:
- master
tags: '*'
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/**'
- 'test/**'
- 'validation/**'
- 'change.log'
- '.gitignore'
- 'Project.toml'
release:
types: [published]
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: "1.8"
- uses: julia-actions/cache@v1
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl