|
|
@@ -11,7 +11,7 @@ ssh_host="$2" |
|
|
repo_url="$3" |
|
|
repo_url="$3" |
|
|
domain="${4:-DietPi.ntp.kentcommunications.com}" |
|
|
domain="${4:-DietPi.ntp.kentcommunications.com}" |
|
|
deploy_path="${DEPLOY_PATH:-/var/www/warehouse}" |
|
|
deploy_path="${DEPLOY_PATH:-/var/www/warehouse}" |
|
|
deploy_ref="${DEPLOY_REF:-main}" |
|
|
|
|
|
|
|
|
deploy_ref="${DEPLOY_REF:-master}" |
|
|
|
|
|
|
|
|
ssh "${ssh_user}@${ssh_host}" bash -s -- "$repo_url" "$domain" "$deploy_path" "$deploy_ref" <<'REMOTE' |
|
|
ssh "${ssh_user}@${ssh_host}" bash -s -- "$repo_url" "$domain" "$deploy_path" "$deploy_ref" <<'REMOTE' |
|
|
set -euo pipefail |
|
|
set -euo pipefail |
|
|
|