From d511615a68d5657e8451c28cc03938f70d6e7d86 Mon Sep 17 00:00:00 2001 From: seojin Yoon <90759319+7zrv@users.noreply.github.com> Date: Sun, 24 Nov 2024 20:46:53 +0900 Subject: [PATCH] fix: add env to CD.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CD.yml에 빌드를 위한 환경변수 추가 --- .github/workflows/CD.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 46019c9de..af168dfdc 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -6,6 +6,17 @@ jobs: build-and-push: runs-on: ubuntu-latest + env: + DB_URL: ${{ secrets.DB_URL }} + DB_USERNAME: ${{ secrets.DB_USERNAME }} + DB_PASSWORD: ${{ secrets.DB_PASSWORD }} + REDIS_HOST: ${{ secrets.REDIS_HOST}} + REDIS_PORT: ${{ secrets.REDIS_PORT }} + NAVER_CLIENT_ID: ${{ secrets.NAVER_CLIENT_ID }} + NAVER_CLIENT_SECRET: ${{ secrets.NAVER_CLIENT_SECRET }} + NAVER_SCOPE: ${{ secrets.NAVER_SCOPE }} + JWT_SECRET: ${{ secrets.JWT_SECRET }} + steps: - name: Github Repository 파일 불러오기 uses: actions/checkout@v4