add to known hosts
Some checks failed
CI / build-and-test (push) Failing after 3m4s

This commit is contained in:
Tobias Klemp
2026-01-02 11:57:45 +01:00
parent 5b3ccf5d1f
commit 8d45979b18

View File

@@ -37,6 +37,11 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_DEPLOYMENT_KEY }}
- name: Add SSH host to known hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan -p ${{ vars.ssh_port }} ${{ vars.ssh_host }} >> ~/.ssh/known_hosts
- name: Create environment file
run: |
cat > .env << EOF