-
-
Notifications
You must be signed in to change notification settings - Fork 122
44 lines (41 loc) · 1.02 KB
/
Documenter.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
35
36
37
38
39
40
41
42
43
44
name: Documentation
on:
push:
branches:
- master
tags: '*'
paths:
- 'docs/**'
- 'src/**'
- 'lib/**'
pull_request:
paths:
- 'docs/**'
- 'src/**'
- 'lib/**'
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: always.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
docs-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- name: Install dependencies
shell: julia --color=yes --project=docs/ {0}
run: |
using Pkg
Pkg.develop(PackageSpec(path="lib/MPIPreferences"))
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
Pkg.build(;verbose=true)
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --color=yes --project=docs/ docs/make.jl