Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Respect My Net
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
Respect My Net
Commits
06a2e92b
Commit
06a2e92b
authored
Dec 13, 2016
by
Okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let's try to play with this gitlab-ci file
parent
a2a697fc
Pipeline
#675
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
.gitlab-ci.yml
.gitlab-ci.yml
+16
-0
No files found.
.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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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