Commit 06a2e92b authored by Okhin's avatar Okhin

Let's try to play with this gitlab-ci file

parent a2a697fc
job deploy prod:
stage: deploy
tag:
- prod
only:
- master
variables:
- GIT_DIR: '/var/www/rmn/respect-my-net/.git'
- GIT_WORK_DIR: '/var/www/rmn/respect-my-net/'
script:
- source /var/www/rmn/respect-my-net/env/bin/activate
- git pull origin master
- python /var/www/rmn/respect-my-net/manage.py migrate
- python /var/www/rmn/respect-my-net/manage.py collectstatic
- python /var/www/rmn/respect-my-net/manage.py rebuild_index
- sudo service uwsgi restart
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