배포 실행 파일 수정 DB 덤프 자동실행 추가2

This commit is contained in:
root
2026-07-23 17:25:33 +09:00
parent e44eea9f5d
commit 25a7675606
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -28,7 +28,9 @@ jobs:
run: |
install -m 700 -d ~/.ssh
printf '%s\n' '${{ secrets.DEPLOY_SSH_KEY }}' > ~/.ssh/id_ed25519
sed -i 's/\r$//' ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keygen -y -f ~/.ssh/id_ed25519 >/dev/null
ssh-keyscan -p '${{ secrets.DEPLOY_PORT }}' '${{ secrets.DEPLOY_HOST }}' >> ~/.ssh/known_hosts
- name: Render deployment env