Skip to content

Commit

Permalink
제발
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzzseong committed Jan 15, 2024
1 parent abe20a1 commit 1b48be7
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,19 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
env:
admin-secret-key: ${{ secrets.ADMIN_SECRET_KEY }}
aws_accessKey: ${{ secrets.AWS_ACCESS_KEY }}
aws_secretKey: ${{ secrets.AWS_SECRET_KEY }}
baseball-api-key: ${{ secrets.BASEBALL_API_KEY }}
basketball-api-key: ${{ secrets.BASKETBALL_API_KEY }}
football-api-key: ${{ secrets.FOOTBALL_API_KEY }}
google-api-key: ${{ secrets.GOOGLE_API_KEY }}
google-api-secret: ${{ secrets.GOOGLE_API_SECRET }}
jwt.secret_key: ${{ secrets.JWT_SECRET_KEY }}
kakao-api-key: ${{ secrets.KAKAO_API_KEY }}
naver-api-key: ${{ secrets.NAVER_API_KEY }}
naver-api-secret: ${{ secrets.NAVER_API_SECRET }}
rds_username: ${{ secrets.RDS_USERNAME }}
rds_password: ${{ secrets.RDS_PASSWORD }}

steps:
- name: Git Checkout
uses: actions/checkout@v4

# .properties file 생성
- name: application.properties 생성
run: |
touch ./src/main/resources/application-prod.yml
touch ./src/main/resources/application-test-prod.yml
echo "${{ secrets.PROD_YML }}" > ./application-prod.yml
echo "${{ secrets.TEST_PROD_YML }}" > ./application-test-prod.yml
- name: Java Setup
uses: actions/setup-java@v2
Expand All @@ -39,6 +32,8 @@ jobs:
cache: gradle

- name: Build with Gradle
env:
SPRING_PROFILES_ACTIVE: prod
run: |
./gradlew clean build
Expand Down

0 comments on commit 1b48be7

Please sign in to comment.