diff options
| author | 2026-05-04 15:38:03 +0700 | |
|---|---|---|
| committer | 2026-05-04 15:38:03 +0700 | |
| commit | 7b1aca39816f4b82ddf9c4ced83275d56e1b8780 (patch) | |
| tree | 952a52c9def2dc28d887c8d5d9b58bc2f36bc01e | |
| parent | e3601faf8e98ac39be1aa746c9e20b837d09a037 (diff) | |
| download | web-7b1aca39816f4b82ddf9c4ced83275d56e1b8780.tar.gz web-7b1aca39816f4b82ddf9c4ced83275d56e1b8780.zip | |
fix: no strict host key checking in ci
| -rw-r--r-- | .github/workflows/build-and-deploy-prod.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/build-and-deploy-stage.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build-and-deploy-prod.yml b/.github/workflows/build-and-deploy-prod.yml index ded8c93..4689e28 100644 --- a/.github/workflows/build-and-deploy-prod.yml +++ b/.github/workflows/build-and-deploy-prod.yml @@ -73,7 +73,7 @@ jobs: - name: Test SSH connection run: | - ssh -o ConnectTimeout=10 -i ~/.ssh/id_ed25519 svc_github@uz.saya.casa "echo 'SSH connection successful'" + ssh -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 svc_github@uz.saya.casa "echo 'SSH connection successful'" - name: Install Ansible shell: bash diff --git a/.github/workflows/build-and-deploy-stage.yml b/.github/workflows/build-and-deploy-stage.yml index 93a2627..f81212a 100644 --- a/.github/workflows/build-and-deploy-stage.yml +++ b/.github/workflows/build-and-deploy-stage.yml @@ -75,7 +75,7 @@ jobs: - name: Test SSH connection run: | - ssh -o ConnectTimeout=10 -i ~/.ssh/id_ed25519 svc_github@uz.saya.casa "echo 'SSH connection successful'" + ssh -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 svc_github@uz.saya.casa "echo 'SSH connection successful'" - name: Set github short sha id: ghss_vars |