diff --git a/docs/deploy-raspberry-pi.md b/docs/deploy-raspberry-pi.md index 90ebf01..b748db5 100644 --- a/docs/deploy-raspberry-pi.md +++ b/docs/deploy-raspberry-pi.md @@ -42,7 +42,7 @@ Arguments: ## Useful environment overrides ```bash -DEPLOY_REF=main \ +DEPLOY_REF=master \ DEPLOY_PATH=/var/www/warehouse \ scripts/deploy-raspi.sh pi raspberrypi.local git@github.com:YOUR_USER/warehouse.git DietPi.ntp.kentcommunications.com ``` diff --git a/scripts/deploy-raspi.sh b/scripts/deploy-raspi.sh index c7506fb..0fb8ee6 100644 --- a/scripts/deploy-raspi.sh +++ b/scripts/deploy-raspi.sh @@ -11,7 +11,7 @@ ssh_host="$2" repo_url="$3" domain="${4:-DietPi.ntp.kentcommunications.com}" 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' set -euo pipefail