Skip to content

Commit

Permalink
ci : ci/cd 수정 (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlatmd0829 authored Feb 7, 2024
1 parent 73cd647 commit a6810ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
key: ${{ secrets.QUACK_RUN_SSH_KEY }}
port: ${{ secrets.QUACK_RUN_SSH_PORT }}
source: "build/libs/*.jar"
target: "~"
rm: true
target: "/home/ec2-user"
rm: false
- name: Deploy new version of server
uses: appleboy/ssh-action@master
with:
Expand All @@ -51,9 +51,9 @@ jobs:
export MAIL_SENDER=${{ secrets.MAIL_SENDER }}
export MAIL_APP_PASSWORD=${{ secrets.MAIL_APP_PASSWORD }}
docker stop status-page-api || true
docker rm status-page-api || true
docker rmi status-page-image || true
docker stop status-page-api
docker rm status-page-api
docker rmi status-page-image
docker build -t status-page-image .
Expand Down

0 comments on commit a6810ae

Please sign in to comment.