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 Raphael6f2dbfb5464c
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 5eaaa8cd..0808eea7 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -15,6 +15,9 @@ jobs:
- name: Deploy to VPS
run: |
echo "$DEPLOY_KEY" > deploy_key
+ chmod 600 deploy_key
+ eval $(ssh-agent)
+ ssh-add deploy_key
scp -i deploy_key -r frontend/* ${{ secrets.ssh_host }}:/home/smaug/sites/alexandrie/frontend
scp -i deploy_key -r dashboard/* ${{ secrets.ssh_host }}:/home/smaug/sites/alexandrie/dashboard
scp -i deploy_key -r backend/* ${{ secrets.ssh_host }}:/home/smaug/sites/alexandrie/backend