Skip to content

CI: Pkg.develop before instantiate (docs/Manifest.toml is gitignored) #2

CI: Pkg.develop before instantiate (docs/Manifest.toml is gitignored)

CI: Pkg.develop before instantiate (docs/Manifest.toml is gitignored) #2

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
tags: '*'
pull_request:
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
- uses: julia-actions/cache@v2
- name: Install docs dependencies
run: julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=docs docs/make.jl