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 Raphaelae8c2718686f
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index e9ef5149..ad9a7a08 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -38,10 +38,7 @@ jobs:
exit 1
fi
file deploy_key | grep "PEM RSA private key"
- if [[ $? -ne 0 ]]; then
- echo "Deploy key file is not in the correct format."
- exit 1
- fi
+
- name: Add deploy key to authorized_keys
run: echo "$DEPLOY_KEY" >> ~/.ssh/authorized_keys
- name: Deploy to VPS