Skip to content

Commit

Permalink
Merge pull request #5 from Sam3Star/gayeong
Browse files Browse the repository at this point in the history
ci: 환경변수 주입
  • Loading branch information
GayeongKimm authored Jun 24, 2024
2 parents dd7a2d8 + 665a6d0 commit c3fa921
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ jobs:
java-version: '17'
distribution: 'temurin'

- name: Set yml file
uses: microsoft/variable-substitution@v1
with:
files: src/main/resources/application.yml
env:
spring.datasource.url: ${{ secrets.DB_URL }}
spring.datasource.username: ${{ secrets.DB_USERNAME }}
spring.datasource.password: ${{ secrets.DB_PASSWORD }}

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

Expand Down

0 comments on commit c3fa921

Please sign in to comment.