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 Raphael4af4f1b2f954
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 371afec8..2031bd60 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -15,6 +15,8 @@ jobs:
- name: Deploy to VPS
run: |
mkdir -p ~/.ssh
+ touch "~/.ssh/known_hosts"
+ touch "~/.ssh/deploy_key"
echo -e "${{ secrets.DEPLOY_SSH_KEY }}" > "~/.ssh/deploy_key"
ssh-keyscan -t ed25519 161.97.81.3 >> ~/.ssh/known_hosts
chmod 700 "~/.ssh"