Skip to content

Commit 83ef641

Browse files
committed
fix: 배포 테스트
1 parent 6855df0 commit 83ef641

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/develop-build-deploy.yml

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
- name: Set SSH key permissions
5454
run: chmod 600 private_key.pem
5555

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+
5660
# 서버로 docker-compose 파일 전송
5761
- name: Copy docker-compose file to EC2
5862
run: |

0 commit comments

Comments
 (0)