Add automatic Paperclip bootstrap URL generation to deploy script

This commit is contained in:
Jannik committed 2026-10-01 17:43:56 +02:00
1 parent 46c72994d8
commit f4b8e6dda3
1 file changed
+10
+10
View File
@@ -383,6 +383,16 @@ main() {
disable_maintenance_mode
docker image prune -af 2>/dev/null || true
if [[ " ${ACTIVE_SERVICES[*]} " =~ " paperclip " ]]; then
log "Waiting for Paperclip to initialize (10s)..."
sleep 10
log "========================================================="
log " PAPERCLIP BOOTSTRAP INVITE URL:"
log "========================================================="
docker exec paperclip_app npx paperclipai auth bootstrap-ceo || warn "Failed to generate bootstrap URL. Check container logs."
log "========================================================="
fi
trap - ERR
log "Deployment complete! Active services: ${ACTIVE_SERVICES[*]}"
}