From a821bc1c3b9d766b291a1eca6282d39ddc3f96b6 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Tue, 3 Dec 2019 14:51:54 +0100 Subject: [PATCH] fix: ssh user and adress of test-nantes & stage for test-nantes --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 695215d..c3cd87c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: node stages: - deploy_staging - - deploy_production + - deploy_preproduction ## STAGING ## @@ -24,7 +24,7 @@ deploy_paris_stg: - sib deploy_nantes: - stage: deploy_staging + stage: deploy_preproduction environment: name: nantes url: https://test-nantes.happy-dev.fr @@ -33,7 +33,7 @@ deploy_nantes: - 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/ + - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-nantes@ssh-test-nantes.happy-dev.fr:~/www/ only: - staging - feat/manager_deploy @@ -43,7 +43,7 @@ deploy_nantes: ## PRODUCTION ## deploy_paris: - stage: deploy_production + stage: deploy_preproduction environment: name: paris url: https://test-paris.happy-dev.fr