Skip to content

Commit

Permalink
Merge pull request #128 from MADA-UMC/server-lipton
Browse files Browse the repository at this point in the history
Feat : CI-CD deploy.yml Docker version
  • Loading branch information
honeybears authored Feb 7, 2024
2 parents 1b4d53c + 176d339 commit 09ef273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ jobs:

# 위의 빌드작업한 JAR 파일 = 아티팩트를 다운로드
steps:
- name: Download build artifact
- name: Download Docker Container
uses: appleboy/ssh-action@master
id: deploy-prod
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
scripts: |
script: |
sudo docker ps
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/mada-project
sudo docker run -d -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/mada-project
Expand Down

0 comments on commit 09ef273

Please sign in to comment.