-
-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (37 loc) · 1.09 KB
/
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
35
36
37
name: Docs
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
# Round 1: Create interlink dumps
- run: Core/docs/make.jl
- run: Store/docs/make.jl
- run: Common/docs/make.jl
- run: REPL/docs/make.jl
- run: Main/docs/make.jl
# Round 2: Now with resolvable interlinks
- run: Core/docs/make.jl --only-if-inv-changed
- run: Store/docs/make.jl --only-if-inv-changed
- run: Common/docs/make.jl --only-if-inv-changed
- run: REPL/docs/make.jl --only-if-inv-changed
# Combine
- name: MultiDocs
run: |
git config user.name github-actions
git config user.email [email protected]
julia --project=MultiDocs -e 'using Pkg; Pkg.instantiate()'
julia --project=MultiDocs MultiDocs/make-multi.jl