Skip to content

The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.

Staging receiver checks the deploy like production (PR 1967)

Janikaaf9ce06c38a
diff --git a/scripts/receive-deploy.sh b/scripts/receive-deploy.sh
index 5eb3056f..2e11af17 100755
--- a/scripts/receive-deploy.sh
+++ b/scripts/receive-deploy.sh
@@ -10,7 +10,8 @@
# install -m 755 scripts/receive-deploy.sh "$BASE/receive-deploy.sh"
# authorized_keys: restrict,command="$BASE/receive-deploy.sh" ssh-ed25519 AAAA... deploy
# Install a copy outside app/: app/ is replaced by every deploy.
-# Linedesk's own production uses a separate receiver that checks the release itself.
+# It trusts whoever holds the key: they can run any code as this user. Keep the key in a CI job only reviewed code can
+# change, or check the commit on the server first. Linedesk's own servers use separate receivers that check it themselves.
set -euo pipefail
umask 077 # deploy-images.env holds a registry token until scripts/deploy.sh reads and deletes it