Skip to content

Commit

Permalink
[Setting] 깃헙 액션 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkonu authored May 17, 2024
1 parent def7f11 commit f4ccc51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ jobs:
with:
host: ${{ secrets.HOST_PROD }} # EC2 퍼블릭 IPv4 DNS
username: ubuntu
key: ${{ secrets.PRIVATE_KEY }}
key: ${{ secrets.PEM_KEY }}
envs: GITHUB_SHA
script: |
sudo docker ps
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/plnafit
sudo docker run -d -p 8081:8081 ${{ secrets.DOCKER_USERNAME }}/planfit
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/planfit
sudo docker run -d -p 8081:8081 ${{ secrets.DOCKERHUB_USERNAME }}/planfit
sudo docker image prune -f

0 comments on commit f4ccc51

Please sign in to comment.