diff --git a/deploy/deploy.sh b/deploy/deploy.sh index a0dc966..6157386 100755 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -15,6 +15,8 @@ PROD_DIR="$HOME/www" PHP="$(which php)" REPO_URI=$(cat "$DEV_DIR/config.yaml" | grep ^git_repo | head -1 | awk '{print $2}') +[ "$(hostname)" = "4in1" ] || die "unexpected hostname. are you sure you're running it on the right machine?" + git push origin master [ -d "$STAGING_DIR" ] || mkdir "$STAGING_DIR"