Skip to content

feat: dev ci 파일 생성 #1

feat: dev ci 파일 생성

feat: dev ci 파일 생성 #1

Workflow file for this run

name: Owori Backend-dev CD
on:
push:
branches:
- "develop"
jobs:
server-deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.AWS_IP }}
username: ubuntu
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd ~/Owori-Server
git pull
sudo docker-compose -f docker-compose.prod.yml down
sudo docker-compose -f docker-compose.prod.yml up --build -d