Skip to content

Commit

Permalink
[fix]workflows 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jainefer committed Nov 6, 2024
1 parent 398411b commit 3cac845
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/dev_deply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,11 @@ jobs:
username: ubuntu
key: ${{ secrets.EC2_PRIVATE_KEY}}
script: |
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/bill-api:latest
if [ $(sudo docker ps -a -q -f name=bill-api) ]; then
sudo docker stop bill-api
sudo docker rm bill-api
fi
sudo docker tag ${{ secrets.DOCKERHUB_USERNAME }}/bill-api:latest bill-api
sudo docker run --name bill-api -d -p 80:8080 \
-e SPRING_DATASOURCE_URL = ${{ secrets.SPRING_DATASOURCE_URL }} \
Expand Down

0 comments on commit 3cac845

Please sign in to comment.