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
LQDN Adminsys
generateur-slogans
Commits
d5f5bf54
Verified
Commit
d5f5bf54
authored
Nov 15, 2017
by
Thibaut Broggi
Browse files
Merge branch 'master' of git.laquadrature.net:lqdn-interne/generateur-slogans
parents
833f83a8
6e899019
Pipeline
#1639
passed with stage
in 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d5f5bf54
...
...
@@ -16,3 +16,20 @@ deploy preprod:
-
sudo /usr/bin/pm2 show slogan
only
:
-
master
deploy prod
:
variables
:
BASE_PATH
:
/srv/soutien/generateur-slogans
stage
:
deploy
tags
:
[
prod
]
script
:
-
rsync -ruvC ./ $BASE_PATH
-
cd $BASE_PATH
-
rm -rf node_modules/
-
npm install
-
cp config.json.default config.json
-
sudo /usr/bin/pm2 restart slogan
-
sudo /usr/bin/pm2 show slogan
only
:
-
master
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