Skip to content

Commit

Permalink
🔧 Updating files to keep up with template
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Jun 25, 2022
1 parent 2110177 commit 79e71a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
version: 1

- name: Get dependencies from jso-docs.github.io
- name: Get dependencies from JuliaSmoothOptimizers.github.io
run: bash getdeps.sh

- name: Build
Expand Down
10 changes: 5 additions & 5 deletions getdeps.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
# Script to clone the jso-docs main repo and get the necessary folders
wget https://github.com/jso-docs/jso-docs.github.io/archive/refs/heads/main.zip
# Script to clone the JuliaSmoothOptimizers main repo and get the necessary folders
wget https://github.com/JuliaSmoothOptimizers/JuliaSmoothOptimizers.github.io/archive/refs/heads/main.zip
unzip main.zip
if [ -z "$CI" ]; then
rm -rf _assets _layout _libs _sass
mv -f jso-docs.github.io-main/{_assets,_layout,_sass,_libs,package.json,config.md,utils.jl} .
mv -f JuliaSmoothOptimizers.github.io-main/{_assets,_layout,_sass,_libs,package.json,config.md,utils.jl} .
else
mv -f jso-docs.github.io-main/{_layout,_libs,_sass,package.json,config.md,utils.jl} .
mv -f JuliaSmoothOptimizers.github.io-main/{_layout,_libs,_sass,package.json,config.md,utils.jl} .
fi
rm -rf jso-docs.github.io-main main.zip
rm -rf JuliaSmoothOptimizers.github.io-main main.zip

0 comments on commit 79e71a4

Please sign in to comment.