2 Commits
1.0.0 ... 1.1.0

Author SHA1 Message Date
1078366ff5 fixed destination variable name 2022-09-18 17:52:05 +02:00
00f677e992 fixed default deployment source 2022-09-18 16:21:16 +02:00

View File

@@ -3,7 +3,7 @@ set -e
# Check for the source server (with default) # Check for the source server (with default)
DEPLOY_SOURCE_FILE="~/.deploy_source" DEPLOY_SOURCE_FILE="~/.deploy_source"
DEPLOY_SOURCE="git.bjphoster.com" DEPLOY_SOURCE="https://git.bjphoster.com/deployments"
if [ -f "${DEPLOY_SOURCE_FILE}" ]; then if [ -f "${DEPLOY_SOURCE_FILE}" ]; then
. "${DEPLOY_SOURCE_FILE}" . "${DEPLOY_SOURCE_FILE}"
fi fi
@@ -11,8 +11,8 @@ fi
# Check for the deploy position (with default) # Check for the deploy position (with default)
DEPLOY_DESTINATION_FILE="~/.deploy_destination" DEPLOY_DESTINATION_FILE="~/.deploy_destination"
DEPLOY_DESTINATION="/opt" DEPLOY_DESTINATION="/opt"
if [ -f "${DEPLOY_SOURCE_FILE}" ]; then if [ -f "${DEPLOY_DESTINATION_FILE}" ]; then
. "${DEPLOY_SOURCE_FILE}" . "${DEPLOY_DESTINATION_FILE}"
fi fi
# Check if the correct usage is respected # Check if the correct usage is respected