Skip to content

Commit

Permalink
[Fix] :: deploy yml fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgwk42 committed May 14, 2024
1 parent bc71a59 commit d740c23
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,18 @@ jobs:

- name: set chmod
run: chmod +x ./gradlew


- name: set yml file
uses: microsoft/variable-substitution@v1
with:
files: src/main/resources/application.yml
env:
spring.datasource.url: ${{ secrets.RDS_PATH }}
spring.datasource.username: ${{ secrets.DB_USERNAME }}
spring.datasource.password: ${{ secrets.DB_PASSWORD }}
application.jwt.secretKey: ${{ secrets.JWT_SECRET_KEY }}
firebase.sdk.path: ${{ secrets.FIREBASE_SDK }}

- name: Build with Gradle
run: ./gradlew bootJar

Expand Down

0 comments on commit d740c23

Please sign in to comment.