Skip to content

Commit

Permalink
Update server-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zzawang authored May 20, 2024
1 parent 7db7747 commit c1e3e43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/server-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
java-version: '17'
cache: gradle

- name: make application.properties
- name: Make application.properties
run: |
cd ./be/issue-tracker/src/main/resources
echo "${{ secrets.DB_URL }}" > ./application.properties
echo "${{ secrets.DB_USERNAME }}" > ./application.properties
echo "${{ secrets.DB_PASSWORD }}" > ./application.properties
echo "${{ secrets.S3_ACCESS_KEY }}" > ./application.properties
echo "${{ secrets.S3_SECRET_KEY }}" > ./application.properties
echo "spring.datasource.url=${{ secrets.DB_URL }}" > application.properties
echo "spring.datasource.username=${{ secrets.DB_USERNAME }}" >> application.properties
echo "spring.datasource.password=${{ secrets.DB_PASSWORD }}" >> application.properties
echo "cloud.aws.credentials.access-key=${{ secrets.S3_ACCESS_KEY }}" >> application.properties
echo "cloud.aws.credentials.secret-key=${{ secrets.S3_SECRET_KEY }}" >> application.properties
shell: bash

- name: Grant execute permission for gradlew
Expand Down

0 comments on commit c1e3e43

Please sign in to comment.