Skip to content

Commit

Permalink
DEPLOY : prod 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JuseungL committed Aug 10, 2024
1 parent 14ebda7 commit 97bed0a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ jobs:
sudo docker pull "${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:backend"
sudo docker run -d \
--name "$CONTAINER_NAME" \
-p 80:8080 \
--log-driver=awslogs \
--log-opt awslogs-group=/fledge/backend \
--log-opt awslogs-region=ap-northeast-2 \
--log-opt awslogs-stream="$CONTAINER_NAME" \
"${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:backend"
--name "$CONTAINER_NAME" \
-p 80:8080 \
--log-driver=awslogs \
--log-opt awslogs-group=/fledge/backend \
--log-opt awslogs-region=ap-northeast-2 \
--log-opt awslogs-stream="$CONTAINER_NAME" \
--env SPRING_PROFILES_ACTIVE=prod \
"${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }}:backend"

0 comments on commit 97bed0a

Please sign in to comment.