Skip to content

Remove use of non-existent function flatten (#121) #45

Remove use of non-existent function flatten (#121)

Remove use of non-existent function flatten (#121) #45

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
tags: '*'
concurrency:
# group by workflow and ref; the last slightly strange component ensures that for pull
# requests, we limit to 1 concurrent job, but for the master branch we don't
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
# Cancel intermediate builds, but only if it is a pull request build.
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
deploy_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Set up Julia"
uses: julia-actions/setup-julia@latest
with:
version: '1.8'
- name: Restore cache
uses: julia-actions/cache@v1
with:
cache-name: 'docs-1.8'
- name: Build package
uses: julia-actions/julia-buildpkg@latest
- name: Install dependencies
run: julia --project=docs/ --color=yes -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/ --color=yes docs/make.jl