Skip to content

Commit

Permalink
Update deploy.yml : EC2 호스트 키 검증하도록 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
minsu-cnu authored Nov 27, 2024
1 parent bb676e1 commit ce7c351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
- name: Deploy to GCP
run: |
# scp로 VM에 jar 파일 전송
scp -o StrictHostKeyChecking=no -i ./key-hirehigher ./team18-be-0.0.1-SNAPSHOT.jar hirehigher@${{ secrets.GCP_VM_IP }}:/home/hirehigher/repository
scp -i ./key-hirehigher ./team18-be-0.0.1-SNAPSHOT.jar hirehigher@${{ secrets.GCP_VM_IP }}:/home/hirehigher/repository
- name: Remove GitHub Actions IP from GCP Firewall
run: |
Expand Down

0 comments on commit ce7c351

Please sign in to comment.