Commit e624d17f authored by okhin's avatar okhin 🚴
Browse files

Let's skip the cp of config, it's been done already

parent 465a974b
Pipeline #1317 failed with stage
in 30 seconds
......@@ -4,13 +4,11 @@ stages:
deploy preprod:
variables:
BASE_PATH: /srv/generateur-slogans
PORT: 8080
stage: deploy
tags: [preprod]
script:
- rsync -ruvC ./ $BASE_PATH
- cd $BASE_PATH
- echo "{'port': '${PORT}'}" > config.json
- npm install
- pm2 restart srv.js
only:
......
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