-
Notifications
You must be signed in to change notification settings - Fork 3
67 lines (53 loc) · 2.39 KB
/
Documentation.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Documentation
on:
push:
branches:
- main
tags: "*"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
#
# AstrodynamicalCalculations Documentation
#
- name: Install Documentation Dependencies for AstrodynamicalCalculations
run: julia --project=lib/AstrodynamicalCalculations/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "AstrodynamicalCalculations"))); Pkg.instantiate()'
- name: Build and deploy AstrodynamicalCalculations
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/AstrodynamicalCalculations
run: julia --project=docs/ docs/make.jl
#
# AstrodynamicalModels Documentation
#
- name: Install Documentation Dependencies for AstrodynamicalModels
run: julia --project=lib/AstrodynamicalModels/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "AstrodynamicalModels"))); Pkg.instantiate()'
- name: Build and deploy AstrodynamicalModels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/AstrodynamicalModels
run: julia --project=docs/ docs/make.jl
#
# AstrodynamicalSolvers Documentation
#
- name: Install Documentation Dependencies for AstrodynamicalSolvers
run: julia --project=lib/AstrodynamicalSolvers/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "AstrodynamicalSolvers"))); Pkg.instantiate()'
- name: Build and deploy AstrodynamicalSolvers
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/AstrodynamicalSolvers
run: julia --project=docs/ docs/make.jl
- name: Install Documentation Dependencies
run: julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path = @__DIR__)); 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/ docs/make.jl