Skip SSH host key check for localhost in deploy workflow
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user