Skip to content

Commit

Permalink
redis 환경추가
Browse files Browse the repository at this point in the history
  • Loading branch information
DOEKYONG committed Oct 5, 2023
1 parent 2fdcf71 commit 6b7d22c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b7d22c

Please sign in to comment.