Skip to content

Commit

Permalink
Update django_CICD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
2ming00 authored Sep 4, 2024
1 parent cbaf5f0 commit 7705ba1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/django_CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ jobs:
echo "${{ secrets.EC2_KEY }}" > key.pem
chmod 400 key.pem
ssh -o StrictHostKeyChecking=no -i key.pem $EC2_USER@$EC2_HOST << EOF
cd /home/ubuntu/aiServer
echo "STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')" >> aiServer/settings.py
pkill -9 gunicorn || true
sudo apt update
Expand Down

0 comments on commit 7705ba1

Please sign in to comment.