Skip to content

More MOIified implementation, again #201

More MOIified implementation, again

More MOIified implementation, again #201

Workflow file for this run

name: Documentation
on:
push:
branches: [master]
tags: '*'
paths:
- '.github/workflows/docs.yml'
- 'src/**'
- 'docs/**'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- '.github/workflows/docs.yml'
- 'src/**'
- 'docs/**'
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
build:
# Run on push's or non-draft PRs
if: (github.event_name == 'push') || (github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch')
runs-on: ubuntu-latest
env:
GKSwstype: nul
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
# Build documentation on Julia LTS
version: '1.6'
- 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 }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl