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 Raphael2e8ede2be4cf
diff --git a/.github/workflows/deploy_to_prod.yml b/.github/workflows/deploy_to_prod.yml
index 708f9916..e9ef5149 100755
--- a/.github/workflows/deploy_to_prod.yml
+++ b/.github/workflows/deploy_to_prod.yml
@@ -21,6 +21,12 @@ jobs:
run: echo "$DEPLOY_KEY" > deploy_key
- name: Set permissions on deploy key
run: chmod 400 deploy_key
+ - name: Check for deploy key file
+ run: |
+ if [[ ! -f deploy_key ]]; then
+ echo "Deploy key file does not exist."
+ exit 1
+ fi
- name: Check deploy key file
run: |
if ! [[ -f deploy_key ]]; then