Skip to content

Commit

Permalink
[Chore] modify gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sanggae4133 committed Jan 19, 2024
1 parent 69f93ac commit 6f84f57
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6f84f57

Please sign in to comment.