docker
This commit is contained in:
@@ -6,6 +6,7 @@ if [ -d /app/.git ]; then
|
|||||||
git pull
|
git pull
|
||||||
else
|
else
|
||||||
mkdir -p /tmp/app-tmp
|
mkdir -p /tmp/app-tmp
|
||||||
|
rm -rf /tmp/app-tmp
|
||||||
git clone "$GIT_REPO_URL" /tmp/app-tmp
|
git clone "$GIT_REPO_URL" /tmp/app-tmp
|
||||||
cp -a /tmp/app-tmp/. /app/
|
cp -a /tmp/app-tmp/. /app/
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user