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
be220eb0
Commit
be220eb0
authored
Apr 24, 2018
by
Thibaut Broggi
Browse files
Merge branch 'preprod' of
https://git.laquadrature.net/lqdn-interne/generateur-slogans
into preprod
parents
e27379df
2eaeafe7
Pipeline
#1926
passed with stages
in 1 minute and 54 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
be220eb0
...
...
@@ -26,7 +26,7 @@ deploy preprod:
-
rm -rf node_modules/
-
npm install
-
cp config.json.default config.json
-
sudo /usr/bin/pm2
r
estart slogan
-
sudo /usr/bin/pm2
startOrR
estart slogan
.app.yml
-
sudo /usr/bin/pm2 show slogan
only
:
-
preprod
...
...
@@ -42,7 +42,7 @@ deploy prod:
-
rm -rf node_modules/
-
npm install --production
-
cp config.json.default config.json
-
sudo /usr/bin/pm2
r
estart slogan
-
sudo /usr/bin/pm2
startOrR
estart slogan
.app.yml
-
sudo /usr/bin/pm2 show slogan
only
:
-
master
...
...
README.md
View file @
be220eb0
...
...
@@ -22,5 +22,5 @@ npm install
We're suggesting the use of pm2 to manage the service
```
sh
pm2 start s
rv.sh
--name
slogan
--watch
pm2 start s
logan.app.yml
```
slogan.app.yml
0 → 100644
View file @
be220eb0
apps
:
-
script
:
./srv.js
name
:
slogan
watch
:
true
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