docs: explicit comment on StrictHostKeyChecking=no in deploy workflow
All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 26s
All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 26s
Runner Alpine stateless, pas de known_hosts persistant. Cible fixe sur LAN interne (192.168.1.208) — risque MITM inexistant. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
20b86144b4
commit
5cfa8db270
1 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ jobs:
|
|||
|
||||
- name: Sync files to NAS
|
||||
run: |
|
||||
# StrictHostKeyChecking=no : runner Alpine stateless, pas de known_hosts persistant.
|
||||
# Cible fixe sur LAN interne (192.168.1.208) — risque MITM inexistant.
|
||||
rsync -av --delete \
|
||||
-e "ssh -i /root/.ssh/id_deploy -o StrictHostKeyChecking=no" \
|
||||
--exclude='.git' \
|
||||
|
|
@ -47,6 +49,8 @@ jobs:
|
|||
|
||||
- name: Restart bot on NAS
|
||||
run: |
|
||||
# StrictHostKeyChecking=no : runner Alpine stateless, pas de known_hosts persistant.
|
||||
# Cible fixe sur LAN interne (192.168.1.208) — risque MITM inexistant.
|
||||
ssh -i /root/.ssh/id_deploy -o StrictHostKeyChecking=no \
|
||||
Elewyn@192.168.1.208 \
|
||||
"cd ${{ env.DEPLOY_PATH }} && /share/CACHEDEV1_DATA/.qpkg/container-station/usr/bin/docker compose down || true && /share/CACHEDEV1_DATA/.qpkg/container-station/usr/bin/docker compose up -d"
|
||||
|
|
|
|||
Loading…
Reference in a new issue