From 6f84f578c9f52fd97fb1d73ad2be25e5dfda8786 Mon Sep 17 00:00:00 2001 From: sanggae4133 Date: Fri, 19 Jan 2024 15:55:10 +0900 Subject: [PATCH] [Chore] modify gradle.yml --- .github/workflows/gradle.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index eaf4d38c..91f58879 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -38,8 +38,8 @@ jobs: OCCUPY_OAUTH_SECRET: ${{ secrets.OCCUPY_OAUTH_SECRET }} OCCUPY_SECRET_DIR: ./src/main/resources - OCCUPY_DB_SECRET_DIR: $OCCUPY_SECRET_DIR/database - OCCUPY_OAUTH_SECRET_DIR: $OCCUPY_SECRET_DIR/oauth2 + OCCUPY_DB_SECRET_DIR: ./src/main/resources/database + OCCUPY_OAUTH_SECRET_DIR: ./src/main/resources/oauth2 OCCUPY_SECRET_DIR_FILE_NAME: application.yml OCCUPY_DB_SECRET_DIR_FILE_NAME: application-database.yml @@ -53,9 +53,6 @@ jobs: echo "$OCCUPY_DB_SECRET" > $OCCUPY_DB_SECRET_DIR/$OCCUPY_DB_SECRET_DIR_FILE_NAME echo "$OCCUPY_OAUTH_SECRET" > $OCCUPY_OAUTH_SECRET_DIR/$OCCUPY_OAUTH_SECRET_DIR_FILE_NAME - echo $OCCUPY_DB_SECRET | base64 --decode > $OCCUPY_DB_SECRET_DIR/$OCCUPY_DB_SECRET_DIR_FILE_NAME && - echo $OCCUPY_OAUTH_SECRET | base64 --decode > $OCCUPY_OAUTH_SECRET_DIR/$OCCUPY_OAUTH_SECRET_DIR_FILE_NAME - - name: Run chmod to make gradlew executable run: chmod +x ./gradlew