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 Raphael26245ddf0054
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 61f34e03..2e961213 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -18,7 +18,7 @@ jobs:
touch ~/.ssh/known_hosts
touch ~/.ssh/deploy_key
if [[ -n $DEPLOY_SSH_KEY ]]; then
- echo -e "$DEPLOY_SSH_KEY" > ~/.ssh/deploy_key
+ printf "%s" "$DEPLOY_SSH_KEY" > ~/.ssh/deploy_key
else
echo "DEPLOY_SSH_KEY is not set. Make sure you've added it as a secret in your repository."
exit 1
@@ -33,4 +33,4 @@ jobs:
scp -i ~/.ssh/deploy_key -r dashboard/* 161.97.81.3:/home/smaug/sites/alexandrie/dashboard
scp -i ~/.ssh/deploy_key -r backend/* 161.97.81.3:/home/smaug/sites/alexandrie/backend
env:
- DEPLOY_SSH_KEY: '${{ secrets.DEPLOY_SSH_KEY }}'
+ DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}