We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ffc7c5 commit b5f7459Copy full SHA for b5f7459
.github/workflows/main.yml
@@ -25,7 +25,7 @@ jobs:
25
26
- name: Deploy to EC2
27
run: |
28
- ssh -i ~/.ssh/ec2.pem ec2-user@YOUR_EC2_PUBLIC_IP << 'EOF'
+ ssh -i ~/.ssh/ec2.pem -T ec2-user@${{ secrets.EC2_ADDRESS }} << 'EOF'
29
cd ~/moving-be
30
git pull origin main # GitHub에서 최신 변경 사항을 pull
31
npm install # 필요에 따라 의존성 설치
0 commit comments