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 Raphael1c12203e18da
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 4a2ad679..2abcd6a6 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -20,8 +20,8 @@ jobs:
mv deploy_key ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa ${{secrets.ssh_host}} >> ~/.ssh/known_hosts
- scp -i ~/.ssh/deploy_key -r frontend/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/frontend
- scp -i ~/.ssh/deploy_key -r dashboard/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/dashboard
- scp -i ~/.ssh/deploy_key -r backend/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/backend
+ scp -i ~/.ssh/id_rsa -r frontend/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/frontend
+ scp -i ~/.ssh/id_rsa -r dashboard/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/dashboard
+ scp -i ~/.ssh/id_rsa -r backend/dist/* ${{secrets.ssh_host}}:~/sites/alexandrie/backend
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_SSH_KEY }}