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