Commit 7b41f48b authored by okhin's avatar okhin

Gitlab-ci firsttry

parent 2059b7c7
job install:
script:
- source /srv/memopol/memopol_env/bin/activate
- cd /srv/memopol/memopol_env/src/memopol
- git fetch origin
- git reset --hard origin/master
- find . -name '*.pyc' -delete
- pip install -Ue .
- src/memopol/bin/install_client_deps.sh
- memopol migrate --noinput
- memopol collectstatic --noinput
- touch /etc/uwsgi/apps-enabled/memopol.ini
stage: deploy
tags: memopol
only:
- master
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