Verified Commit d5f5bf54 authored by Thibaut Broggi's avatar Thibaut Broggi

Merge branch 'master' of git.laquadrature.net:lqdn-interne/generateur-slogans

parents 833f83a8 6e899019
Pipeline #1639 passed with stage
in 43 seconds
......@@ -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
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