cicd: added deploy config for nantes
This commit is contained in:
		| @ -16,7 +16,7 @@ deploy_test1: | ||||
|     url: https://test1.startinblox.com | ||||
|   script: | ||||
|     - echo "$APP_CONFIG_TEST1" > config.json | ||||
|     - echo "$SSH_ASTRAL_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - npm install | ||||
|     - npm run build | ||||
|     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test1@astral.startinblox.com:~/front/ | ||||
| @ -33,7 +33,7 @@ deploy_test2: | ||||
|     url: https://test2.startinblox.com | ||||
|   script: | ||||
|     - echo "$APP_CONFIG_TEST2" > config.json | ||||
|     - echo "$SSH_ASTRAL_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - npm install | ||||
|     - npm run build | ||||
|     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test2@astral.startinblox.com:~/front/ | ||||
| @ -50,7 +50,7 @@ deploy_test3: | ||||
|     url: https://test3.startinblox.com | ||||
|   script: | ||||
|     - echo "$APP_CONFIG_TEST3" > config.json | ||||
|     - echo "$SSH_ASTRAL_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - npm install | ||||
|     - npm run build | ||||
|     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test3@astral.startinblox.com:~/front/ | ||||
| @ -67,7 +67,7 @@ deploy_stg1: | ||||
|     url: https://stg1.startinblox.com | ||||
|   script: | ||||
|     - echo "$APP_CONFIG_STG1" > config.json | ||||
|     - echo "$SSH_ASTRAL_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - npm install | ||||
|     - npm run build | ||||
|     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* stg1@astral.startinblox.com:~/front/ | ||||
| @ -84,7 +84,7 @@ deploy_stg2: | ||||
|     url: https://stg2.startinblox.com | ||||
|   script: | ||||
|     - echo "$APP_CONFIG_STG2" > config.json | ||||
|     - echo "$SSH_ASTRAL_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - npm install | ||||
|     - npm run build | ||||
|     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* stg2@astral.startinblox.com:~/front/ | ||||
| @ -102,7 +102,11 @@ deploy_nantes: | ||||
|     name: nantes | ||||
|     url: https://nantes.happy-dev.fr | ||||
|   script: | ||||
|     - echo 'Not happening yet...' | ||||
|     - echo "$APP_CONFIG_NANTESHD" > config.json | ||||
|     - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key | ||||
|     - npm install | ||||
|     - npm run build | ||||
|     - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* nantes@ssh-nantes.happy-dev.fr:~/sib/www/ | ||||
|   only: | ||||
|     - master | ||||
|   when: manual | ||||
|  | ||||
		Reference in New Issue
	
	Block a user