File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
app/onboarding/_components Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 2525 # 2. Docker 이미지 빌드, 태그, 푸시 (이미지 이름 형식 변경)
2626 - name : Build and push to Docker Hub
2727 run : |
28- docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }} .
29- docker push ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
28+ sudo docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }} .
29+ sudo docker push ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
3030
3131 # 3. EC2에 접속하여 배포
3232 - name : Deploy to EC2 instance
@@ -37,14 +37,13 @@ jobs:
3737 key : ${{ secrets.EC2_SSH_KEY }}
3838 script : |
3939 # EC2에서 Docker Hub 이미지 pull
40- docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
40+ sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
4141
4242 # 기존 컨테이너 중지 및 삭제
43- if [ $(docker ps -q -f name=motimo-fe-production) ]; then
44- docker stop motimo-fe-production
45- docker rm motimo-fe-production
43+ if [ $(sudo docker ps -q -f name=motimo-fe-production) ]; then
44+ sudo docker stop motimo-fe-production
45+ sudo docker rm motimo-fe-production
4646 fi
4747
4848 # 새 컨테이너 실행
49- docker run -d --name motimo-fe-production -p 3000:3000 --restart always --env-file ./production.env ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
50-
49+ sudo docker run -d --name motimo-fe-production -p 3000:3000 --restart always --env-file ./production.env ${{ secrets.DOCKERHUB_USERNAME }}/motimo-fe-production:${{ github.sha }}
Original file line number Diff line number Diff line change @@ -280,9 +280,9 @@ export default function LoginScreen({ onNext }: LoginScreenProps) {
280280 </ div >
281281
282282 { /* Gesture bar */ }
283- < div className = "h-6 flex justify-center items-center" >
283+ { /* <div className="h-6 flex justify-center items-center">
284284 <div className="w-[108px] h-1 bg-label-normal rounded-full"></div>
285- </ div >
285+ </div> */ }
286286 </ div >
287287 ) ;
288288}
You can’t perform that action at this time.
0 commit comments