docker
This commit is contained in:
@@ -5,7 +5,7 @@ if [ -d /app/.git ]; then
|
|||||||
cd /app
|
cd /app
|
||||||
git pull
|
git pull
|
||||||
else
|
else
|
||||||
cd /tmp
|
mkdir -p /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