diff --git a/deploy_dev.sh b/deploy_dev.sh deleted file mode 100755 index c44af743d5faea05cbc248f09791640dcdbe1220..0000000000000000000000000000000000000000 --- a/deploy_dev.sh +++ /dev/null @@ -1,2 +0,0 @@ -docker build -t gitlab.rrz.uni-hamburg.de:4567/groups/cosy-bio/drugst.one/backend:dev -f ./Dockerfile . -docker push gitlab.rrz.uni-hamburg.de:4567/groups/cosy-bio/drugst.one/backend:dev \ No newline at end of file diff --git a/deploy_prod.sh b/deploy_prod.sh deleted file mode 100755 index 145fd9f2f00a5aebcc4d42cda275fb26d9d32f49..0000000000000000000000000000000000000000 --- a/deploy_prod.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -branch=$(git rev-parse --abbrev-ref HEAD) -if [ "$branch" == "production" ]; then - docker build -t gitlab.rrz.uni-hamburg.de:4567/cosy-bio/drugst.one/backend:prod -f ./Dockerfile . - docker push gitlab.rrz.uni-hamburg.de:4567/cosy-bio/drugst.one/backend:prod -else - echo "DENIED: Your are not in the production branch. Do not push to production from the ${branch} branch." -fi