Skip to content

Commit

Permalink
#71 [chore] 파이어베이스 관련 config 파일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyejungg committed Sep 15, 2022
1 parent 46dad4b commit 8ee1fba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
AWS_S3_SECRET_KEY: ${{ secrets.AWS_S3_SECRET_KEY }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
FIREBASE_URI: $${{ secrets.FIREBASE_URI }}
FIREBASE_SERVICE_JSON: $${{ secrets.FIREBASE_SERVICE_JSON }}

run: |
touch application.properties
Expand All @@ -58,6 +60,11 @@ jobs:
echo cloud.aws.s3.bucket=$AWS_S3_BUCKET >> application.properties
echo cloud.aws.region.static=$AWS_REGION >> application.properties
echo cloud.aws.stack.auto=false >> application.properties
echo cloud.firebase.credentials.uri=$FIREBASE_URI >> application.properties
mkdir firebase
touch ./firebase/firebase_service_key.json
echo $FIREBASE_SERVICE_JSON >> firebase_service_key.json
- name: Set up JDK 11
uses: actions/setup-java@v1
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
AWS_S3_SECRET_KEY: ${{ secrets.AWS_S3_SECRET_KEY }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
FIREBASE_URI: $${{ secrets.FIREBASE_URI }}
FIREBASE_SERVICE_JSON: $${{ secrets.FIREBASE_SERVICE_JSON }}

run: |
touch application.properties
Expand All @@ -58,6 +60,11 @@ jobs:
echo cloud.aws.s3.bucket=$AWS_S3_BUCKET >> application.properties
echo cloud.aws.region.static=$AWS_REGION >> application.properties
echo cloud.aws.stack.auto=false >> application.properties
echo cloud.firebase.credentials.uri=$FIREBASE_URI >> application.properties
mkdir firebase
touch ./firebase/firebase_service_key.json
echo $FIREBASE_SERVICE_JSON >> firebase_service_key.json
- name: Set up JDK 11
uses: actions/setup-java@v1
Expand Down

0 comments on commit 8ee1fba

Please sign in to comment.