diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eaef37121..4629c9bc1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,11 +7,11 @@ jobs: aggregate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: - version: '1.8' - - uses: actions/cache@v1 + version: '1.9' + - uses: actions/cache@v3 env: cache-name: cache-artifacts with: diff --git a/docs/make.jl b/docs/make.jl index 988cd2e17..9edc2009e 100755 --- a/docs/make.jl +++ b/docs/make.jl @@ -8,7 +8,7 @@ if "--help" ∈ ARGS """ docs/make.jl -Render the `JuliaManifolds` GitHub Organisation Multidocumenter with optinal arguments +Render the `JuliaManifolds` GitHub Organisation Multidocumenter with optional arguments Arguments * `--deploy` - deploy docs to GitHub pages (e.g. on CI) @@ -135,8 +135,15 @@ if "--deploy" in ARGS rm(file; force = true, recursive = true) end # copy the rendered docs - for file in readdir(outpath) - cp(joinpath(outpath, file), joinpath(gitroot, file)) + try + for file in readdir(outpath) + cp(joinpath(outpath, file), joinpath(gitroot, file)) + end + catch e + println(e) + println("Out path: ", outpath) + println("PWD: ", pwd()) + exit(1) end # Add and commit new files run(`git add .`)