From 479b135473af82a8d56aadc63e746da8b8469a8c Mon Sep 17 00:00:00 2001 From: Sihwan Kim Date: Sun, 9 Jun 2024 03:52:38 +0900 Subject: [PATCH 1/2] Update aws.yml --- .github/workflows/aws.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index 5b3dca3..a63fc5b 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -46,7 +46,7 @@ jobs: cat util/src/main/resources/application.properties chmod +x gradlew - ./gradlew clean video:build --exclude-task test + ./gradlew clean app:build --exclude-task test ls pwd docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/streaming:latest . From b140c9268ec58369708027bb3ad61a3a589c0e44 Mon Sep 17 00:00:00 2001 From: Sihwan Kim Date: Sun, 9 Jun 2024 03:56:02 +0900 Subject: [PATCH 2/2] Update aws.yml --- .github/workflows/aws.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index a63fc5b..756c6d6 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -33,12 +33,12 @@ jobs: # 2. Spring Boot 애플리케이션 빌드 - name: Build with Gradle run: | - touch video/src/main/resources/application-oauth.properties - touch video/src/main/resources/application-prod.properties - touch video/src/main/resources/application.properties - echo "${{ secrets.APPLICATION_PROD }}" > video/src/main/resources/application-prod.properties - echo "${{ secrets.APPLICATION_OAUTH }}" > video/src/main/resources/application-oauth.properties - echo "${{ secrets.APPLICATION_PROPERTIES }}" > video/src/main/resources/application.properties + touch app/src/main/resources/application-oauth.properties + touch app/src/main/resources/application-prod.properties + touch app/src/main/resources/application.properties + echo "${{ secrets.APPLICATION_PROD }}" > app/src/main/resources/application-prod.properties + echo "${{ secrets.APPLICATION_OAUTH }}" > app/src/main/resources/application-oauth.properties + echo "${{ secrets.APPLICATION_PROPERTIES }}" > app/src/main/resources/application.properties echo "${{ secrets.UTILL_APPLICATION_PROPERTIES }}" > util/src/main/resources/application.properties