Prevent stupid mistakes
This commit is contained in:
parent
7c78829584
commit
3aed3990a5
|
@ -30,6 +30,11 @@ while [[ $# -gt 0 ]]; do
|
|||
host=$1
|
||||
target=${1//.hq.c3d2.de/}
|
||||
target=${target//.c3d2.de/}
|
||||
|
||||
if [[ $target == keycloak ]]; then
|
||||
echo "Deploying keycloak like this is a bad idea because the ssh connection ends up in the gitea container!"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
|
|
Loading…
Reference in New Issue