Skip to content

Support PR doc previews and cleanup. #112

Support PR doc previews and cleanup.

Support PR doc previews and cleanup. #112

Workflow file for this run

# Adapted from
# https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#GitHub-Actions
name: Documentation
on:
push:
branches:
- master
tags: '*'
pull_request:
jobs:
Documentation:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.6'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy documentation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_DEBUG: true
run: julia --project=docs/ docs/make.jl