summaryrefslogtreecommitdiff
path: root/scripts/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy')
-rwxr-xr-xscripts/deploy6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/deploy b/scripts/deploy
index adb27e2..6b3d498 100755
--- a/scripts/deploy
+++ b/scripts/deploy
@@ -6,6 +6,12 @@ cd "$(dirname "$0")/.."
FQDN="doot.terst.org"
SITE_DIR="/site/${FQDN}"
SERVICE="task-dashboard@${FQDN}"
+DEPLOY_HOST="tungsten"
+
+if [ "$(hostname)" != "${DEPLOY_HOST}" ]; then
+ echo "Refusing to deploy: this is $(hostname), not ${DEPLOY_HOST}." >&2
+ exit 1
+fi
echo "==> Building CSS..."
npm run css:build