fix: correct syntax for condition in known_hosts step of deploy workflow

This commit is contained in:
2026-01-21 22:23:26 +01:00
parent eada3c7c61
commit 44a0ceba27

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