Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
208280eb
Commit
208280eb
authored
Aug 31, 2021
by
Wolfgang Knopki
Browse files
adapted gitlab-ci
parent
637a9675
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
208280eb
...
...
@@ -25,15 +25,23 @@ deploy-testing:
deploy-master
:
stage
:
deploy
script
:
-
cat $configfileprod > ./config/config.js
-
cat $cert > ./routes/cert/cert.pem
-
cat $certidp > ./routes/cert/cert_idp.pem
-
cat $key > ./routes/cert/key.pem
-
npm install
-
npm run clean
-
npm run build
-
rm -rf ./built/public/default
-
rm -rf ./built/routes/cert
-
rm -rf ./built/views
-
cp -R ./public/default ./built/public
-
cp -R ./routes/cert ./built/routes
-
cp -R ./views ./built
-
cat $configfiledev > ./built/config/config.js
-
cat $cert > ./built/routes/cert/cert.pem
-
cat $certidp > ./built/routes/cert/cert_idp.pem
-
cat $key > ./built/routes/cert/key.pem
-
"
pm2
delete
--silent
account
||
:"
-
pm2 start ./app.js --name=account
-
pm2 start ./
built/
app.js --name=account
-
pm2 save
tags
:
-
production
only
:
-
master
\ No newline at end of file
-
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