Skip to content

Update README.md

Update README.md #445

Workflow file for this run

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
#
# EphemerisSourcesBase Documentation
#
- name: Install Documentation Dependencies for EphemerisSourcesBase
run: julia --project=lib/EphemerisSourcesBase/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "EphemerisSourcesBase"))); Pkg.instantiate()'
- name: Build and deploy EphemerisSourcesBase
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/EphemerisSourcesBase
run: julia --project=docs/ docs/make.jl
#
# HorizonsAPI Documentation
#
- name: Install Documentation Dependencies for HorizonsAPI
run: julia --project=lib/HorizonsAPI/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "HorizonsAPI"))); Pkg.instantiate()'
- name: Build and deploy HorizonsAPI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/HorizonsAPI
run: julia --project=docs/ docs/make.jl
#
# HorizonsEphemeris Documentation
#
- name: Install Documentation Dependencies for HorizonsEphemeris
run: julia --project=lib/HorizonsEphemeris/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "HorizonsEphemeris"))); Pkg.instantiate()'
- name: Build and deploy HorizonsEphemeris
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/HorizonsEphemeris
run: julia --project=docs/ docs/make.jl
#
# SPICEKernels Documentation
#
- name: Install Documentation Dependencies for SPICEKernels
run: julia --project=lib/SPICEKernels/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "SPICEKernels"))); Pkg.instantiate()'
- name: Build and deploy SPICEKernels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/SPICEKernels
run: julia --project=docs/ docs/make.jl
#
# SPICEBodies Documentation
#
- name: Install Documentation Dependencies for SPICEBodies
run: julia --project=lib/SPICEBodies/docs -e 'using Pkg; Pkg.develop(PackageSpec(path = joinpath("lib", "SPICEBodies"))); Pkg.instantiate()'
- name: Build and deploy SPICEBodies
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
working-directory: lib/SPICEBodies
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