Skip to content

Commit

Permalink
debug?
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbaran committed Nov 7, 2023
1 parent 406d449 commit cd00737
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 10 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 .`)
Expand Down

0 comments on commit cd00737

Please sign in to comment.