summaryrefslogtreecommitdiff
path: root/scripts/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy')
-rwxr-xr-xscripts/deploy12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/deploy b/scripts/deploy
index 7d59a86..fbe6f9e 100755
--- a/scripts/deploy
+++ b/scripts/deploy
@@ -42,18 +42,18 @@ go build -o "${BIN_DIR}/claudomator" ./cmd/claudomator/
chown www-data:www-data "${BIN_DIR}/claudomator"
chmod +x "${BIN_DIR}/claudomator"
-echo "==> Copying scripts..."
-mkdir -p "${SITE_DIR}/scripts"
-find "${REPO_DIR}/scripts" -maxdepth 1 -type f -exec cp -p {} "${SITE_DIR}/scripts/" \;
-chown -R www-data:www-data "${SITE_DIR}/scripts"
-find "${SITE_DIR}/scripts" -maxdepth 1 -type f -exec chmod +x {} +
-
if [ -f "${BIN_DIR}/claude" ]; then
echo "==> Fixing Claude permissions..."
chown www-data:www-data "${BIN_DIR}/claude"
chmod +x "${BIN_DIR}/claude"
fi
+echo "==> Copying scripts..."
+mkdir -p "${SITE_DIR}/scripts"
+find "${REPO_DIR}/scripts" -maxdepth 1 -type f -exec cp -p {} "${SITE_DIR}/scripts/" \;
+chown -R www-data:www-data "${SITE_DIR}/scripts"
+find "${SITE_DIR}/scripts" -maxdepth 1 -type f -exec chmod +x {} +
+
echo "==> Installing to /usr/local/bin..."
cp "${BIN_DIR}/claudomator" /usr/local/bin/claudomator
chmod +x /usr/local/bin/claudomator