Skip to content

Merge pull request #134 from OceanBioME/jsw/river-input #681

Merge pull request #134 from OceanBioME/jsw/river-input

Merge pull request #134 from OceanBioME/jsw/river-input #681

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags: '*'
pull_request:
env:
DATADEPS_ALWAYS_ACCEPT: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
with:
version: '1.9'
- 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 }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: JULIA_DEBUG=Documenter julia --color=yes --project=docs/ docs/make.jl