Skip to content

Commit

Permalink
Update CD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dong2ast authored Jan 18, 2024
1 parent 323c1ff commit ce3829e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:
push: true
tags: lequu/lequu-client:latest

deploy-cd:
needs: deploy-ci
runs-on: ubuntu-22.04

steps:
- name: 도커 컨테이너 실행
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.RELEASE_SERVER_IP }}
username: ${{ secrets.RELEASE_SERVER_USER }}
key: ${{ secrets.RELEASE_SERVER_KEY }}
script: |
cd ~
./deploy.sh
docker image prune -f
# deploy-cd:
# needs: deploy-ci
# runs-on: ubuntu-22.04
#
# steps:
# - name: 도커 컨테이너 실행
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.RELEASE_SERVER_IP }}
# username: ${{ secrets.RELEASE_SERVER_USER }}
# key: ${{ secrets.RELEASE_SERVER_KEY }}
# script: |
# cd ~
# ./deploy.sh
# docker image prune -f

0 comments on commit ce3829e

Please sign in to comment.