From 18f6153b6ce1bbcc03d6e013e7ef4ccff03d4b8e Mon Sep 17 00:00:00 2001 From: plup Date: Wed, 20 Nov 2019 22:41:55 +0100 Subject: [PATCH] cicd: fixed dist folder name --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e52ee46..34b1d33 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,10 +9,9 @@ deploy_staging: script: - echo "$APP_CONFIG" > config.json - echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key - - cat gitlab.key - npm install - npm run build - - scp -i gitlab.key -o StrictHostKeyChecking=no -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/ + - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/ only: - feat/manager_deploy tags: