Skip to content

Commit

Permalink
Github deploy 발생 이벤트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
tinajeong authored Oct 28, 2024
1 parent 77664e1 commit 09a5147
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Deploy

on: []
on:
push

env:
REPO: lyf-jarvis-back
Expand Down Expand Up @@ -68,4 +69,4 @@ jobs:
fi
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/lyf-jarvis-back:latest
sudo docker run -d --name lyf-jarvis-back-${{ github.sha }} -p 8081:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lyf-jarvis-back:latest
sudo docker run -d --name lyf-jarvis-back-${{ github.sha }} -p 8081:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lyf-jarvis-back:latest

0 comments on commit 09a5147

Please sign in to comment.