From 6b7d22cb9dede0f30f2b9c40e6c49e7c17886037 Mon Sep 17 00:00:00 2001 From: DOEKYONG Date: Thu, 5 Oct 2023 15:58:25 +0900 Subject: [PATCH] =?UTF-8?q?redis=20=ED=99=98=EA=B2=BD=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-deploy.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-deploy.yml b/.github/workflows/auto-deploy.yml index 7bd737ba2..7e18b44dc 100644 --- a/.github/workflows/auto-deploy.yml +++ b/.github/workflows/auto-deploy.yml @@ -40,12 +40,19 @@ jobs: touch '${{ env.APPLICATION_FILE_PATH }}' echo '${{ secrets.APPLICATION }}' > '${{ env.APPLICATION_FILE_PATH }}' + # 4. Redis 설치 및 실행 + - name: Install and Start Redis Server + run: | + sudo apt-get update + sudo apt-get install -y redis-server + sudo service redis-server start + # 3. build 단계 - name: Grant execute permission for gradlew run: chmod +x ./gradlew - name: Build with Gradle - run: ./gradlew clean build # 인바운드 IP 설정할 수 있으면 -x test 제거 + run: ./gradlew clean build # 4. docker hub로 build & push - name: docker build and push