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