Skip to content

Commit

Permalink
chore:cd 배포 주석
Browse files Browse the repository at this point in the history
  • Loading branch information
qormoon committed Jun 22, 2024
1 parent 140eb84 commit b1e81fc
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,19 @@ jobs:



# 배포
- name: Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ubuntu
key: ${{ secrets.EC2_SSH_KEY }}
envs: GITHUB_SHA
script: |
sudo docker ps
sudo docker pull qormoon/fiurinee_docker
sudo docker run -d -p 8080:8080 qormoon/fiurinee_docker
sudo docker image prune -f
# # 배포
# - name: Deploy
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.EC2_HOST }}
# username: ubuntu
# key: ${{ secrets.EC2_SSH_KEY }}
# envs: GITHUB_SHA
# script: |
# sudo docker ps
# sudo docker pull qormoon/fiurinee_docker
# sudo docker run -d -p 8080:8080 qormoon/fiurinee_docker
# sudo docker image prune -f

# # 새로 빌드된 Docker 이미지를 EC2 서버에 배포하는 작업을 정의합니다.
# deploy:
Expand Down

0 comments on commit b1e81fc

Please sign in to comment.