You've already forked docker-deploy
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
7433c31699 | |||
1078366ff5 |
@@ -2,17 +2,17 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Check for the source server (with default)
|
# Check for the source server (with default)
|
||||||
DEPLOY_SOURCE_FILE="~/.deploy_source"
|
DEPLOY_SOURCE_FILE="${HOME}/.deploy_source"
|
||||||
DEPLOY_SOURCE="https://git.bjphoster.com/deployments"
|
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
|
||||||
|
|
||||||
# Check for the deploy position (with default)
|
# Check for the deploy position (with default)
|
||||||
DEPLOY_DESTINATION_FILE="~/.deploy_destination"
|
DEPLOY_DESTINATION_FILE="${HOME}/.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
|
||||||
|
Reference in New Issue
Block a user