From fa0121e9eb4ef1a4e1e388980f9622e4a4ef0781 Mon Sep 17 00:00:00 2001 From: plup Date: Wed, 20 Nov 2019 22:36:13 +0100 Subject: [PATCH] cicd: removed windows linebreak --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 045be0b..c4f6104 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ deploy_staging: environment: staging script: - echo $APP_CONFIG > config.json - - echo $SSH_PRIVATE_KEY | tr -d '\r' > gitlab.key && chmod 600 gitlab.key + - echo -n "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key - cat gitlab.key - npm install - npm run build