cicd: toulouse

This commit is contained in:
Jean-Baptiste Pasquier 2020-09-08 10:17:44 +00:00
parent 26af9fbcc0
commit 7f4115de40

View File

@ -597,7 +597,7 @@ toulouse:
before_script:
- npm ci --cache .npm --prefer-offline --only=production
script:
- echo "$APP_CONFIG_TOUOUSE" > config.json
- echo "$APP_CONFIG_TOULOUSE" > config.json
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* toulouse@ssh-toulouse.happy-dev.fr:~/front/