mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-deploy.git
synced 2025-05-16 02:07:05 +00:00
recursive clone
This commit is contained in:
parent
1b4fb6aaa9
commit
131a0e0ba5
1 changed files with 2 additions and 2 deletions
4
entry.sh
4
entry.sh
|
@ -12,9 +12,9 @@ while true; do
|
||||||
git config --global --add http.proxy socks5h://localhost:9050
|
git config --global --add http.proxy socks5h://localhost:9050
|
||||||
if [ -d "/repo/.git" ]; then
|
if [ -d "/repo/.git" ]; then
|
||||||
git restore .
|
git restore .
|
||||||
git pull origin "${BRANCH}"
|
git pull origin "${BRANCH}" --recurse-submodules
|
||||||
else
|
else
|
||||||
git clone -b "${BRANCH}" "${REPO_URL}" /repo
|
git clone -b "${BRANCH}" "${REPO_URL}" /repo --recursive
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
sed -i "s/^site_url:.*//g" /repo/mkdocs.yml
|
sed -i "s/^site_url:.*//g" /repo/mkdocs.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue