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 Raphael1764742a77cb
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 18621e66..c21594d0 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -38,7 +38,7 @@ jobs:
npm run build
- name: Deploy to VPS
run: |
- echo "$DEPLOY_KEY" > deploy_key
+ cat "$DEPLOY_KEY" > deploy_key
chmod 600 deploy_key
mkdir -p ~/.ssh
ssh-keyscan -t rsa ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..af1eba91
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+deploy_key
\ No newline at end of file