mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
fix preinstall script
This commit is contained in:
parent
fe20747317
commit
0a52eb49f4
@ -80,8 +80,12 @@ fi
|
||||
# if this script is not running in CI/CD
|
||||
if [ -z "$CI_PIPELINE_ID" ]
|
||||
then
|
||||
# try to clone - if folder is already there pull latest for that branch
|
||||
git pull
|
||||
if [[ $IS_DOCKER == "true" ]]
|
||||
then
|
||||
echo "Running in docker container. Skipping git pull."
|
||||
else
|
||||
git pull
|
||||
fi
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user