Updates to README #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
# | |
# GeneralAstrodynamics Documentation | |
# | |
- 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 |