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 Raphaelf64af0466a9f
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 51c477c3..3783a3ad 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -16,6 +16,9 @@ jobs:
- name: Deploy to VPS
run: |
echo "$DEPLOY_KEY" > deploy_key
+ mkdir -p ~/.ssh
+ ssh-keyscan -t rsa ${{secrets.ssh_host}} >> ~/.ssh/known_hosts
+
scp -i deploy_key -r frontend/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/frontend
scp -i deploy_key -r dashboard/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/dashboard
scp -i deploy_key -r backend/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/backend