Skip to content

Commit

Permalink
infra: cicd 스크립트 redis 구동 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sanggae4133 committed Sep 19, 2024
1 parent 945dc27 commit 3b80a32
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ jobs:
source: "*.jar"
target: "/home/ubuntu/app"

# Redis Server 구동
- name: Start redis-server
uses: appleboy/ssh-action@master
with:
key: ${{ secrets.EC2_KEY_PROD }}
host: ${{ secrets.EC2_HOST_PROD }}
username: ${{ secrets.EC2_USER_PROD }}
script: |
sudo systemctl start redis-server
# EC2에 SSH로 배포 커맨드를 입력하는 step
- name: Deploy SSH
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit 3b80a32

Please sign in to comment.