From ef8f6cae1d642d35cec16f97896b53d7e373f714 Mon Sep 17 00:00:00 2001 From: Bastien Caudan <1331991+bcaudan@users.noreply.github.com> Date: Tue, 29 Aug 2023 10:02:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20CI:=20add=20a=20deploy=20feature?= =?UTF-8?q?=20job=20(#2388)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 380d649391..0da4bd9294 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -248,6 +248,20 @@ e2e-bs: # Deploy ######################################################################################################################## +deploy-feature: + stage: deploy + when: manual + variables: + SUFFIX: 'my-feature' #/datadog-[product]-${SUFFIX}.js + extends: + - .base-configuration + - .feature-branches + script: + - export BUILD_MODE=canary + - yarn + - yarn build:bundle + - node ./scripts/deploy/deploy.js staging $SUFFIX root + deploy-staging: stage: deploy extends: