summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-22 09:41:33 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-22 09:41:33 +0000
commit7bdc204083c066a89848823bd2dc7fabef4b7f76 (patch)
tree6c12393da45b2c5b93705b99ea98cbd9c4f07e0a
parent2e659a4238899ef16b9b47ee279feacfef0be928 (diff)
fix: cd to repo root in deploy script
Script uses relative paths (npm, go build, rsync) so it must run from the repo root regardless of the caller's working directory. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xscripts/deploy1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/deploy b/scripts/deploy
index 3a98290..adb27e2 100755
--- a/scripts/deploy
+++ b/scripts/deploy
@@ -1,5 +1,6 @@
#!/bin/bash
set -e
+cd "$(dirname "$0")/.."
# Configuration
FQDN="doot.terst.org"