Skip to content

Commit

Permalink
docs: github actions 환경변수 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
somin-jeong committed Apr 6, 2024
1 parent c99ea8e commit 8ace15d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,29 @@ jobs:

- name: Build with Gradle Wrapper
run: ./gradlew build
env:
ACTIVE_PROFILE: ${{ secrets.ACTIVE_PROFILE }}

DATASOURCE_URL_DEV: ${{ secrets.DATASOURCE_URL_DEV }}
DATASOURCE_USERNAME: ${{ secrets.DATASOURCE_USERNAME }}
DATASOURCE_PASSWORD: ${{ secrets.DATASOURCE_PASSWORD }}

ACCESSTOKEN_EXPIREDDATE: ${{ secrets.ACCESSTOKEN_EXPIREDDATE }}

JWT_EXPIRED_IN: ${{ secrets.JWT_EXPIRED_IN }}
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}

DATA_REDIS_HOST: ${{ secrets.DATA_REDIS_HOST }}
DATA_REDIS_PORT: ${{ secrets.DATA_REDIS_PORT }}

OAUTH_APPLE_CLIENT_ID: ${{ secrets.OAUTH_APPLE_CLIENT_ID }}
OAUTH_APPLE_NONCE: ${{ secrets.OAUTH_APPLE_NONCE }}
OAUTH_KAKAO_CLIENT_ID: ${{ secrets.OAUTH_KAKAO_CLIENT_ID }}

AWS_S3_BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME }}
AWS_S3_ACCESS_KEY: ${{ secrets.AWS_S3_ACCESS_KEY }}
AWS_S3_SECRET_KEY: ${{ secrets.AWS_S3_SECRET_KEY }}

USER_DAFAULTIMAGE: ${{ secrets.USER_DAFAULTIMAGE }}


1 change: 1 addition & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ spring:
"local": "localDB, devPort, secret, web-mvc"
"dev": "devDB, devPort, secret, web-mvc"
"prod": "prodDB, prodPort, secret, web-mvc"
active: ${ACTIVE_PROFILE}

---

Expand Down

0 comments on commit 8ace15d

Please sign in to comment.