Major changes in deploy script

This commit is contained in:
2022-09-02 14:50:16 +00:00
parent 1add2a49f4
commit dbf250f407
2 changed files with 80 additions and 46 deletions

View File

@@ -1,5 +1,17 @@
#!/bin/sh
toUpperCase() {
echo "$*" | tr '[:lower:]' '[:upper:]';
}
GIT_REPO=$GIT_REPO
ORGANIZATION=$ORGANIZATION
if [ "$ORGANIZATION" == "" ]; then
ORGANIZATION=format
fi
PUBLIC_PROXY=$(toUpperCase $PUBLIC_PROXY)
SMARTHOST_PROXY=$(toUpperCase $SMARTHOST_PROXY)
GIT_REPOSITORY=$GIT_REPOSITORY
HOST=$HOST
PORT=$PORT