Skip to content

Commit

Permalink
👷 CI: add a deploy feature job (#2388)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan authored Aug 29, 2023
1 parent fa410ff commit ef8f6ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ef8f6ca

Please sign in to comment.