Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix deploy

Veauville Raphael3082531e3641
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 13396f73..d20c77f3 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -21,7 +21,7 @@ jobs:
echo "$DEPLOY_SSH_KEY" > deploy_key
chmod 644 deploy_key
mkdir -p ~/.ssh
- ssh-keyscan -t ed25519 $SSH_HOST >> ~/.ssh/known_hosts
+ ssh-keyscan -t ed25519 "$SSH_HOST" >> ~/.ssh/known_hosts
scp -i deploy_key -r frontend/* $SSH_HOST:/home/smaug/sites/alexandrie/frontend
scp -i deploy_key -r dashboard/* $SSH_HOST:/home/smaug/sites/alexandrie/dashboard
scp -i deploy_key -r backend/* $SSH_HOST:/home/smaug/sites/alexandrie/backend