Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lsn5963 authored Aug 10, 2024
1 parent 8a5367d commit d0ba21e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ jobs:

- name: Generate application.yml
run: |
mkdir -p ./src/main/resources
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > ./application.yml
touch ./application-s3.yml
echo "${{ secrets.APPLICATION_S3_YML }}" | base64 --decode > ./application-s3.yml
echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > src/main/resources/application.yml
echo "${{ secrets.APPLICATION_DATABASE_YML }}" | base64 --decode > src/main/resources/database/application-database.yml
echo "${{ secrets.APPLICATION_S3_YML }}" | base64 --decode > src/main/resources/s3/application-s3.yml
echo "${{ secrets.APPLICATION_OAUTH2_YML }}" | base64 --decode > src/main/resources/oauth2/application-oauth2.yml
- name: Build with Gradle
uses: gradle/gradle-build-action@v3
Expand Down

0 comments on commit d0ba21e

Please sign in to comment.