Skip to content

Commit 55e6e9c

Browse files
authored
Merge pull request #123 from kookmin-sw/fix/122
[Backend] fix: AWS 자동 배포 CD 수정
2 parents 01a4ec1 + 22c5ef9 commit 55e6e9c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/backend-cd.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,13 @@ jobs:
4545
- name: Deploy on EC2 via SSH
4646
env:
4747
APP_YML: ${{ secrets.APPLICATION_YML }}
48-
DOCKER_COMPOSE_YML: ${{ secrets.DOCKER_COMPOSE_YML }}
4948
run: |
5049
ssh -i key.pem ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'EOF'
5150
cd ~/capstone-2025-24
5251
git pull
5352
cat > backend/src/main/resources/application.yml << 'END_YML'
5453
$APP_YML
5554
END_YML
56-
cat > docker-compose.yml << 'END_DOCKER'
57-
$DOCKER_COMPOSE_YML
58-
END_DOCKER
5955
docker-compose down
6056
docker-compose build
6157
docker-compose up -d

0 commit comments

Comments
 (0)