Skip to content

Commit 777694d

Browse files
committed
going back to docdeploy action
1 parent c7f4072 commit 777694d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/Documentation.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ jobs:
1717
- uses: julia-actions/cache@v2
1818
- name: Install dependencies
1919
run: julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
20-
- name: Aggregate and deploy
21-
run: |
22-
julia --project=docs/ docs/make.jl deploy
20+
- uses: julia-actions/julia-docdeploy@v1
2321
env:
2422
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
2523
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/make.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Cloning packages into: $(clonedir)
1414
Building aggregate site into: $(outpath)
1515
"""
1616

17-
@info "Building Documenter site for JuliaAstro"
17+
@info "Building MultiDocumenter site for JuliaAstro"
1818

1919
include("pages.jl")
2020
mathengine = MathJax3(Dict(
@@ -44,7 +44,7 @@ makedocs(
4444

4545
@info "Building aggregate JuliaAstro site"
4646
docs = [
47-
# We also add JuliaAstro's own generated pages
47+
# We also add JuliaAstro's own generated pages
4848
MultiDocumenter.MultiDocRef(
4949
upstream = joinpath(@__DIR__, outpath),
5050
path = "docs",
@@ -263,7 +263,9 @@ Downloads.download(
263263
)
264264
@info "Final build done"
265265

266-
if "deploy" in ARGS
266+
# TODO: is there a way to pass args to julia-docdeploy?
267+
if true
268+
#if "deploy" in ARGS
267269
@warn "Deploying to GitHub" ARGS
268270
gitroot = normpath(joinpath(@__DIR__, ".."))
269271
run(`git pull`)

0 commit comments

Comments
 (0)