Skip to content

Commit

Permalink
[TEST] 애플 로그인 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaeAg committed Nov 17, 2024
1 parent 94733ff commit a11c9a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
run: |
mkdir -p src/main/resources/static
echo "${{ secrets.APPLE_AUTH_KEY }}" > src/main/resources/static/AuthKey_$API_KEY.p8
- name: Verify file generation
run: |
mkdir -p src/main/resources/static/apple
echo "${{ secrets.APPLE_AUTH_KEY }}" > src/main/resources/static/apple/AuthKey_${{ secrets.APPSTORE_API_KEY_ID }}.p8
ls -la src/main/resources/static/apple
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build: # job 이름: build
runs-on: ubuntu-22.04 # VM의 OS 지정 (EC2와 동일 버전)

steps:
steps:
- name: Checkout
uses: actions/checkout@v3

Expand All @@ -20,7 +20,7 @@ jobs:
with:
distribution: 'corretto'
java-version: '17'

- name: Create application.yml and application-prod.yml
run: |
mkdir src/main/resources
Expand All @@ -35,6 +35,12 @@ jobs:
mkdir -p src/main/resources/static
echo "${{ secrets.APPLE_AUTH_KEY }}" > src/main/resources/static/AuthKey_$API_KEY.p8
- name: Verify file generation
run: |
mkdir -p src/main/resources/static/apple
echo "${{ secrets.APPLE_AUTH_KEY }}" > src/main/resources/static/apple/AuthKey_${{ secrets.APPSTORE_API_KEY_ID }}.p8
ls -la src/main/resources/static/apple
- name: Grant execute permission for gradlew
run: chmod +x gradlew
shell: bash
Expand Down

0 comments on commit a11c9a6

Please sign in to comment.