Skip to content

Commit

Permalink
fix: #17 rever host key checking for git pulls
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Nov 9, 2024
1 parent 27758e4 commit b213c58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/git_pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ check_var GIT_REPO
check_var GIT_REF
check_var TARGET_DIR

git config --global core.sshCommand 'ssh -o StrictHostKeyChecking=accept-new'

# Define the git sync operation as a function
git_sync() {
echo "Syncing with remote repository"
Expand Down

0 comments on commit b213c58

Please sign in to comment.