Commit 651db92d authored by okhin's avatar okhin 🚴

Let's try the other way around

parent 4786002b
Pipeline #59 failed with stage
in 1 second
......@@ -8,7 +8,7 @@ stages:
job install:
script:
- cd /srv/piphone/
- '[[ -d $CI_PROJECT_NAME ]] && (cd $CI_PROJECT_NAME; git pull origin master) || git clone $CI_BUILD_REPO $CI_PROJECT_NAME'
- '[[ -d $CI_PROJECT_NAME ]] || git clone $CI_BUILD_REPO $CI_PROJECT_NAME && (cd $CI_PROJECT_NAME; git pull origin master)'
- cd $CI_PROJECT_NAME
- '[[ -d ./.backend_env ]] || virtualenv --python=python3 .backend_env'
- source ./.backend_env/bin/activate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment