fix: correct condition syntax for known_hosts in deploy workflow

This commit is contained in:
2026-01-21 22:22:41 +01:00
parent 297f4b0fea
commit eada3c7c61

View File

@@ -23,7 +23,7 @@ jobs:
ssh-private-key: ${{ secrets.VPS_SSH_KEY }}
- name: Add known_hosts (recommended)
if: ${{ secrets.VPS_KNOWN_HOSTS != '' }}
if: secrets.VPS_KNOWN_HOSTS != ''
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh