Skip to content

Commit

Permalink
[chore] sudo ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
kmi0817 authored Jul 14, 2024
1 parent 17fbc49 commit aee5752
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
key: ${{ secrets.SERVER_KEY }}
port: ${{ secrets.SERVER_PORT }}
script: |
docker login --username ${{ secrets.DOCKER_ID }} --password ${{ secrets.DOCKER_PASSWORD }}
docker pull traveline/traveline-docker
docker stop traveline-container || true
docker rm traveline-container || true
docker run -e DB_HOST=${{ secrets.DB_HOST }} \
sudo docker login --username ${{ secrets.DOCKER_ID }} --password ${{ secrets.DOCKER_PASSWORD }}
sudo docker pull traveline/traveline-docker
sudo docker stop traveline-container || true
sudo docker rm traveline-container || true
sudo docker run -e DB_HOST=${{ secrets.DB_HOST }} \
-e DB_PORT=${{ secrets.DB_PORT }} \
-e DB_USER=${{ secrets.DB_USER }} \
-e DB_PASSWORD=${{ secrets.DB_PASSWORD }} \
Expand Down

0 comments on commit aee5752

Please sign in to comment.