-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (34 loc) · 933 Bytes
/
docs-CI.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-CI
on:
push:
branches:
- main
tags: ['*']
pull_request:
workflow_dispatch:
env:
JULIA_NUM_THREADS: 2
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
with:
localregistry: https://github.com/abhisrkckl/julia_registry.git
- name: Install dependencies
run: |
julia --project=docs -e '
import Pkg; Pkg.add(["Documenter", "AbstractTrees"])
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- name: Build & deploy documentation
run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}