diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c87be84..a7f2a9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -930,5 +930,41 @@ montpellier: only: - master when: manual + tags: + - deploy + +acn: + stage: deployment + environment: + name: acn + url: https://acn.hubl.world + before_script: + - npm ci --cache .npm --prefer-offline --only=production + script: + - echo "$APP_CONFIG_ACN" > 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/* acn@astral.startinblox.com:~/client/dist/ + only: + - master + when: manual + tags: + - deploy + +woma: + stage: deployment + environment: + name: woma + url: https://woma.hubl.world + before_script: + - npm ci --cache .npm --prefer-offline --only=production + script: + - echo "$APP_CONFIG_WOMA" > 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/* woma@astral.startinblox.com:~/client/dist/ + only: + - master + when: manual tags: - deploy \ No newline at end of file