Skip to content

Update Project.toml

Update Project.toml #4

Workflow file for this run

name: Documentation
on:
release:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
build:
name: "Build the documentation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.9'
- uses: julia-actions/julia-buildpkg@latest
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.add(url="https://github.com/PoisotLab/SpeciesInteractionNetworks.jl"); Pkg.instantiate()'
- name: Build and deploy
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl