From a58b8b370547d03323c148c1a33ba97a4bdc9c6e Mon Sep 17 00:00:00 2001
From: "Hartung, Michael" <michael.hartung@uni-hamburg.de>
Date: Sat, 22 Apr 2023 00:22:49 +0200
Subject: [PATCH] remove deploy scripts

Former-commit-id: 39b3c48cc48898c3880f98ff74c886d04af215c4 [formerly e5cbbd4c4d006f3eda208fe9f14d4defedefde44]
Former-commit-id: 6ad5478d907ab0f43e17ed4317068bce4c767335
---
 deploy_dev.sh  | 2 --
 deploy_prod.sh | 9 ---------
 2 files changed, 11 deletions(-)
 delete mode 100755 deploy_dev.sh
 delete mode 100755 deploy_prod.sh

diff --git a/deploy_dev.sh b/deploy_dev.sh
deleted file mode 100755
index c44af74..0000000
--- 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 145fd9f..0000000
--- 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
-- 
GitLab