From 92c0ca48e7229f42507d69dab0f1336fc9ed165e Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 22 Oct 2024 23:50:25 +0800 Subject: [PATCH] Update CI/make script --- .github/workflows/ci.yml | 6 +++--- make.jl | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60676c7..5fd7541 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI +name: Build site permissions: contents: write on: @@ -9,11 +9,11 @@ on: pull_request: jobs: docs: - name: Documentation + name: Documenter runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@v2 with: version: '1' - run: julia --project=. -e 'using Pkg; Pkg.instantiate();' diff --git a/make.jl b/make.jl index b6bad21..98d1a95 100755 --- a/make.jl +++ b/make.jl @@ -2,7 +2,7 @@ using Documenter -makedocs(; +makedocs( modules = Module[], format = Documenter.HTML(), clean = true, @@ -19,8 +19,9 @@ makedocs(; authors = "The Julia Project", ) -deploydocs(; - repo="github.com/tecosaur/julia-dev-guide.jl", +deploydocs( + repo = "JuliaLang/devguide.julialang.org", + cname = "devguide.julialang.org", devbranch = "main", versions = nothing )