Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jaster
Respect My Net
Commits
06a2e92b
Commit
06a2e92b
authored
Dec 13, 2016
by
Okhin
Browse files
Let's try to play with this gitlab-ci file
parent
a2a697fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
06a2e92b
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment