fix: 다인용 결과 조회 frontend오류 수정 및 data.sql 파일 이름 변경 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doodle Backend CD | |
on: | |
push: | |
branches: | |
- "main" | |
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 ~/DoodleDoodle-v2 | |
git pull | |
sudo docker-compose -f docker-compose.prod.yml down | |
sudo docker-compose -f docker-compose.prod.yml up --build -d |