Skip to content

Deploy: 무중단 배포 구현 중 health check를 위한 dependency 추가 (#146) #37

Deploy: 무중단 배포 구현 중 health check를 위한 dependency 추가 (#146)

Deploy: 무중단 배포 구현 중 health check를 위한 dependency 추가 (#146) #37

Workflow file for this run

name: Deploy
on:
push:
branches:
- Weekly
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Run deployment script on server
run: |
ssh -o StrictHostKeyChecking=no ubuntu@${{ secrets.SERVER_IP }} 'bash /home/ubuntu/deploy.sh'