diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f318a68..1161f8c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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