finance-dbt/CD.sh

9 lines
267 B
Bash
Raw Normal View History

2024-04-08 11:43:51 +08:00
if [ "dev" = "$BRANCH_NAME" ] || [ "test" = "$BRANCH_NAME" ] || [ "prod" = "$BRANCH_NAME" ]; then
export deployment=$BRANCH_NAME
export namespace=$BRANCH_NAME
else
export deployment=dev
export namespace=dev
fi
export image_tag=$IMAGE_TAG
. ./Deploy.sh