Skip to content

Merge pull request #369 from chrisbrahms/version #492

Merge pull request #369 from chrisbrahms/version

Merge pull request #369 from chrisbrahms/version #492

Workflow file for this run

name: Documentation
on:
push:
branches: [ master ]
tags: '*'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
with:
version: ^1.7.0-rc1
- name: Install dependencies and build package
env:
PYTHON: # remove PYTHON env variable to make sure packages are installed
uses: julia-actions/julia-buildpkg@v1
- name: Instantiate documentation pkg
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate();'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
run: julia --project=docs/ docs/make.jl