-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (32 loc) · 920 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: docs
on:
push:
branches:
- master
jobs:
build-and-publish:
concurrency: docs-${{ github.ref }} #to stop simultaneous docs builds
runs-on: ubuntu-latest
strategy:
matrix:
julia-version: ["1.9"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Julia ${{ matrix.julia-version }}
uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- name: Install Documenter and hack PyPlot to use automanaged Conda
run: |
julia -e 'using Pkg; Pkg.add(["Documenter", "Literate"])'
- uses: julia-actions/julia-buildpkg@latest
- name: Build docs
run: |
cd docs
julia make.jl
- name: Publish docs
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/build