Skip SSH host key check for localhost in deploy workflow
Deploy with Docker Compose / deploy (push) Successful in 7s

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
2026-04-07 13:24:15 +01:00
co-authored by Claude Opus 4.6
parent 5d3c73d537
commit bfefbb1d2a
+2
View File
@@ -10,6 +10,8 @@ jobs:
steps: steps:
- name: Pull changes - name: Pull changes
working-directory: /home/adamf/deploy/web_server working-directory: /home/adamf/deploy/web_server
env:
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
run: | run: |
git config --global --add safe.directory /home/adamf/deploy/web_server git config --global --add safe.directory /home/adamf/deploy/web_server
git pull ssh://git@localhost:2222/adamf/web_server.git main git pull ssh://git@localhost:2222/adamf/web_server.git main