We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6855df0 commit 83ef641Copy full SHA for 83ef641
.github/workflows/develop-build-deploy.yml
@@ -53,6 +53,10 @@ jobs:
53
- name: Set SSH key permissions
54
run: chmod 600 private_key.pem
55
56
+ # Add EC2 host key to known_hosts
57
+ - name: Add EC2 host key to known_hosts
58
+ run: ssh-keyscan -H ${{ secrets.EC2_HOST }} >> ~/.ssh/known_hosts
59
+
60
# 서버로 docker-compose 파일 전송
61
- name: Copy docker-compose file to EC2
62
run: |
0 commit comments