Skip to content

Commit

Permalink
Update django_CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
2ming00 authored Aug 31, 2024
1 parent 1656e66 commit 26b79d9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/django_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ jobs:
pip install django djangorestframework drf-yasg
working-directory: aiServer

- name: Run Tests
run: |
python manage.py test
working-directory: aiServer

deploy:
runs-on: ubuntu-latest
needs: build
Expand All @@ -44,7 +39,6 @@ jobs:
run: |
echo "${{ secrets.EC2_KEY }}" > key.pem
chmod 400 key.pem
scp -o StrictHostKeyChecking=no -i key.pem -r ./aiServer ubuntu@$EC2_HOST:/home/ubuntu/
- name: Deploy to EC2
Expand All @@ -58,5 +52,4 @@ jobs:
nohup gunicorn --bind 0.0.0.0:8000 aiServer.wsgi:application &
sudo service nginx restart
EOF
rm key.pem

0 comments on commit 26b79d9

Please sign in to comment.