Skip to content

Commit

Permalink
deploy: change dir for apple key
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom1324 committed Feb 3, 2024
1 parent f3bf41c commit ac189e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
- name: Make application-secret.yml and set secrets
run: |
mkdir -p ./src/main/resources
mkdir -p ./src/main/resources/key
if [ -f ./src/main/resources/application.yml ]; then
rm ./src/main/resources/application.yml
fi
touch ./src/main/resources/application.yml
touch ./src/main/resources/AuthKey_X4AZ7SJP35.p8
echo "${{ secrets.APPLICATION_SECRET }}" > ./src/main/resources/application.yml
echo "${{ secrets.APPLE_AUTH_KEY }}" > ./src/main/resources/AuthKey_X4AZ7SJP35.p8
echo "${{ secrets.APPLE_AUTH_KEY }}" > ./src/main/resources/key/${{ secrets.APPLE_AUTH_KEY_ID }}.p8
- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build/
!**/src/test/**/build/
/dump.rdb

src/main/resources/AuthKey_X4AZ7SJP35.p8
src/main/resources/key/**
application.yml
application-prod.yml
deploy.sh
Expand Down

0 comments on commit ac189e1

Please sign in to comment.