Skip to content
Snippets Groups Projects
Verified Commit a5407f94 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

Merge branch 'staging' into project-admin

parents b20da1d5 bc45d421
No related branches found
No related tags found
2 merge requests!104Gm responsive left menu,!88Project admin listing & project creation
image: node
stages:
- deploy_staging
- deploy_preproduction
## STAGING ##
deploy_paris_stg:
stage: deploy_staging
environment:
name: paris_stg
url: https://staging.test-paris.happy-dev.fr
script:
- echo "$APP_CONFIG_PARIS_STG" > config.json
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
only:
- staging
- feat/manager_deploy
tags:
- sib
deploy_nantes:
stage: deploy_preproduction
environment:
name: nantes
url: https://test-nantes.happy-dev.fr
script:
- echo "$APP_CONFIG_NANTES" > config.json
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-nantes@ssh-test-nantes.happy-dev.fr:~/www/
only:
- staging
- feat/manager_deploy
tags:
- sib
## PRODUCTION ##
deploy_paris:
stage: deploy_preproduction
environment:
name: paris
url: https://test-paris.happy-dev.fr
script:
- echo "$APP_CONFIG_PARIS" > config.json
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-paris@ssh-test-paris.happy-dev.fr:~/www/
only:
- staging
- feat/manager_deploy
when: manual
tags:
- sib
......@@ -2,6 +2,7 @@
"xmpp": "https://jabber.happy-dev.fr/http-bind/",
"authority": "http://localhost:8000/",
"endpoints": {
"businessproviders": "http://localhost:8000/businessproviders/",
"circles": "http://localhost:8000/circles/",
"groups": "http://localhost:8000/groups/",
"joboffers": "http://localhost:8000/job-offers/",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment