From d72ba37870d5c83c464cfa0134277f5d440d9fbd Mon Sep 17 00:00:00 2001 From: yangdongsuk <51476641+yangdongsuk@users.noreply.github.com> Date: Sun, 10 Dec 2023 17:54:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20main.yml=20=ED=99=98=EA=B2=BD=20?= =?UTF-8?q?=EB=B3=80=EC=88=98=20=EB=88=84=EB=9D=BD=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efb0b540..fce6dccf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,10 +18,32 @@ jobs: steps: - name: Check out source code uses: actions/checkout@v2 + # .env 파일 생성 - name: Generate .env file run: | cat << EOF > ./server/.env - # ... 환경 변수 + JWT_SECRET=${{ secrets.JWT_SECRET }} + HASH_ROUNDS=${{ secrets.HASH_ROUNDS }} + PROTOCOL=${{ secrets.PROTOCOL }} + HOST=${{ secrets.HOST }} + DB_HOST=${{ secrets.DB_HOST }} + DB_PORT=${{ secrets.DB_PORT }} + DB_USERNAME=${{ secrets.DB_USERNAME }} + DB_PASSWORD=${{ secrets.DB_PASSWORD }} + DB_DATABASE=${{ secrets.DB_DATABASE }} + SUB=${{ secrets.SUB }} + ALG=${{ secrets.ALG }} + KID=${{ secrets.KID }} + ISS=${{ secrets.ISS }} + AUTHKEY=${{ secrets.AUTHKEY }} + X_NCP_CLOVASTUDIO_API_KEY=${{ secrets.X_NCP_CLOVASTUDIO_API_KEY }} + X_NCP_APIGW_API_KEY=${{ secrets.X_NCP_APIGW_API_KEY }} + X_NCP_CLOVASTUDIO_REQUEST_ID=${{ secrets.X_NCP_CLOVASTUDIO_REQUEST_ID }} + REDIS_URL=${{ secrets.REDIS_URL }} + REDIS_USERNAME=${{ secrets.REDIS_USERNAME }} + REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }} + ADMIN_EMAIL=${{ secrets.ADMIN_EMAIL }} + ADMIN_PASSWORD=${{ secrets.ADMIN_PASSWORD }} EOF - name: Generate .p8 file run: |