cicd: add hubl community
This commit is contained in:
		| @ -264,3 +264,21 @@ volumes: | ||||
|   when: manual | ||||
|   tags: | ||||
|     - deploy | ||||
|  | ||||
| volumes: | ||||
|   stage: deployment | ||||
|   environment: | ||||
|     name: community-hubl | ||||
|     url: https://community.hubl.world | ||||
|   before_script: | ||||
|     - npm ci --cache .npm --prefer-offline --only=production | ||||
|   script: | ||||
|     - echo "$APP_CONFIG_HUBL_COMMUNITY" > 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/* community-hubl@astral.startinblox.com:~/front/ | ||||
|   only: | ||||
|     - master | ||||
|   when: manual | ||||
|   tags: | ||||
|     - deploy | ||||
|  | ||||
		Reference in New Issue
	
	Block a user