Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Oodls authored Oct 24, 2024
1 parent 56bf170 commit c284168
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ jobs:
ssh-private-key: ${{ secrets.API_RANKIT_PEM }}

# 2. EC2에 blue green 무중단 배포를 위한 스크립트 실행
- name: Run dPlanner.sh for CICD and switch blue-green container
run: |
ssh -o StrictHostKeyChecking=no ec2-user@${{ secrets.EC2_HOST }} << 'EOF'
cd bluegreen/
chmod +x dplanner.sh # 만약 실행 권한이 없다면 추가
#- name: Run dPlanner.sh for CICD and switch blue-green container
# run: |
# ssh -o StrictHostKeyChecking=no ec2-user@${{ secrets.EC2_HOST }} << 'EOF'
# cd bluegreen/
# chmod +x dplanner.sh # 만약 실행 권한이 없다면 추가
./dplanner.sh # 스크립트 실행
EOF

0 comments on commit c284168

Please sign in to comment.