Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
junseokkim committed Jun 9, 2024
1 parent 294cbc5 commit 231a452
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ohhanahana-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ jobs:
# 권한 부여
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
run: chmod +x gradlew

# 빌드(test는 제외)
# 빌드
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: clean build -x test
run: ./gradlew clean build -x test
env:
SPRING_PROFILES_ACTIVE: main

# Docker 이미지를 빌드하고 ECR에 푸시합니다.
- name: Build and push Docker image
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ fi

IMAGE_NAME="${ECR_REGISTRY}/${ECR_REPOSITORY}:latest"
sudo docker pull $IMAGE_NAME
sudo docker run -d --name $CONTAINER_NAME -e SPRING_PROFILE=main -e TZ=Asia/Seoul -p 8080:8080 $IMAGE_NAME
sudo docker run -d -p 8080:8080 --name $CONTAINER_NAME -e SPRING_PROFILE=main -e TZ=Asia/Seoul $IMAGE_NAME

0 comments on commit 231a452

Please sign in to comment.