Skip to content

Commit

Permalink
chore: 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Oct 24, 2024
1 parent 1c5899e commit c8cb117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aws-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
key: ${{secrets.AWS_INSTANCE_PEM}}
port: 22
source: ./${{ env.MODULE }}/infra/aws/*
target: "/home/ubuntu/${{ env.MODULE }}/infra/aws"
target: "/home/ubuntu
- name: Deploy with Docker Compose
uses: appleboy/[email protected]
Expand All @@ -133,7 +133,7 @@ jobs:
script: |
sudo apt install docker-ce
sudo docker login --username ${{secrets.DOCKER_EMAIL}} --password ${{secrets.DOCKER_PASSWORD}}
cd /home/${{ env.MODULE }}/infra/${{ env.DEPLOY_TARGET }}
cd /home/ubuntu/${{ env.MODULE }}/infra/${{ env.DEPLOY_TARGET }}
echo "${{ secrets.APPLICATION_SECRET_PROPERTIES }}" > application-secret.properties
sudo docker-compose pull && sudo docker-compose up -d
docker image prune -a -f

0 comments on commit c8cb117

Please sign in to comment.