Commit 4786002b authored by okhin's avatar okhin 🚴

Let's se a different syntax here

parent d1265ac8
Pipeline #58 failed with stage
in 2 seconds
......@@ -8,7 +8,8 @@ stages:
job install:
script:
- cd /srv/piphone/
- if [[ -d $CI_PROJECT_NAME ]]; then cd $CI_PROJECT_NAME; git pull origin master; else git clone $CI_BUILD_REPO $CI_PROJECT_NAME; cd $CI_PROJECT_NAME; fi;
- '[[ -d $CI_PROJECT_NAME ]] && (cd $CI_PROJECT_NAME; git pull origin master) || git clone $CI_BUILD_REPO $CI_PROJECT_NAME'
- cd $CI_PROJECT_NAME
- '[[ -d ./.backend_env ]] || virtualenv --python=python3 .backend_env'
- source ./.backend_env/bin/activate
- pip install -r ./requirements.txt
......
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