Feat: 팀 상세페이지와 메인페이지에서 is_like 위치 통일 #18
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: Deploy to EC2 on develop | |
on: | |
push: | |
branches: [ develop ] | |
jobs: | |
deploy: | |
name: deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run SSH Connection and Pull | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.AWS_EC2_HOST }} | |
username: ${{ secrets.AWS_EC2_USERNAME }} | |
key: ${{ secrets.AWS_EC2_PASSWORD }} | |
port: ${{ secrets.AWS_EC2_SSH_PORT }} | |
script: | | |
cd project/BE | |
source venv/bin/activate | |
git fetch origin | |
git pull origin develop | |
pip install -r requirements.txt | |
cd wtnt | |
python3.11 manage.py makemigrations | |
python3.11 manage.py migrate | |
sudo systemctl restart gunicorn | |
sudo systemctl restart celery | |
sudo systemctl restart celerybeat |