Skip to content
GitLab
Menu
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
e624d17f
Commit
e624d17f
authored
Oct 04, 2017
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e624d17f
...
@@ -4,13 +4,11 @@ stages:
...
@@ -4,13 +4,11 @@ stages:
deploy preprod
:
deploy preprod
:
variables
:
variables
:
BASE_PATH
:
/srv/generateur-slogans
BASE_PATH
:
/srv/generateur-slogans
PORT
:
8080
stage
:
deploy
stage
:
deploy
tags
:
[
preprod
]
tags
:
[
preprod
]
script
:
script
:
-
rsync -ruvC ./ $BASE_PATH
-
rsync -ruvC ./ $BASE_PATH
-
cd $BASE_PATH
-
cd $BASE_PATH
-
echo "{'port'
:
'
${PORT}'
}
"
>
config.json
-
npm install
-
npm install
-
pm2 restart srv.js
-
pm2 restart srv.js
only
:
only
:
...
...
Write
Preview
Supports
Markdown
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