Skip to content

Commit

Permalink
[setting] build 시 환경변수 등록
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchef1 committed May 11, 2024
1 parent 3057647 commit baeabc8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ jobs:
uses: gradle/[email protected]
with:
arguments: build
env:
DATABASE_HOST: ${{ secrets.DATABASE_HOST }}
DATABASE_PORT: ${{ secrets.DATABASE_PORT }}
DATABASE_NAME: ${{ secrets.DATABASE_NAME }}
DATABASE_USERNAME: ${{ secrets.DATABASE_USERNAME }}
DATABASE_PASSWORD: ${{ secrets.DATABASE_PASSWORD }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
ACCESS_TOKEN_EXPIRED_TIME: ${{ secrets.ACCESS_TOKEN_EXPIRED_TIME }}

- name: Upload build artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit baeabc8

Please sign in to comment.