cicd: removed windows linebreak

This commit is contained in:
plup 2019-11-20 22:20:37 +01:00
parent 691bfbe563
commit 7c976d602b

View File

@ -8,8 +8,7 @@ deploy_staging:
environment: staging environment: staging
script: script:
- echo $APP_CONFIG > config.json - echo $APP_CONFIG > config.json
- echo $SSH_PRIVATE_KEY | tr -d '\r' > gitlab.key - echo $SSH_PRIVATE_KEY > gitlab.key && sed -i 's/\r /\n/g' gitlab.key && chmod 600 gitlab.key
- chmod 600 gitlab.key
- cat gitlab.key - cat gitlab.key
- npm install - npm install
- npm run build - npm run build