finance-dbt/CD.sh
沈楠 d8963d0192
Some checks failed
MJN/finance-dbt/pipeline/head There was a failure building this commit
init: create finance-dbt
2024-04-08 14:45:21 +08:00

9 lines
267 B
Bash

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