Feat: 회원가입 시 토큰 넘겨주는 인자 이름 수정 #13
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 |