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 Raphael997ec64531d7
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index e88336eb..5e10dd58 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -20,6 +20,7 @@ jobs:
- name: Deploy to VPS
run: |
echo "$DEPLOY_KEY" > deploy_key
+ chmod 600 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