We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 442c5b8 commit 2a5b193Copy full SHA for 2a5b193
.github/workflows/main.yml
@@ -24,11 +24,13 @@ jobs:
24
with:
25
ARGS: "--delete"
26
SCRIPT_AFTER: |
27
- ssh -o StrictHostKeyChecking=no ${REMOTE_USER}@${REMOTE_HOST} << 'EOF'
28
cd /home/django/50v-backend
29
python -m venv .venv
30
source .venv/bin/activate
+ pip install --upgrade pip
31
pip install -r requirements.txt
32
+ chown -R django:django
33
+ /home/django/50v-backend
34
python manage.py migrate
- sudo systemctl restart gunicorn
- EOF
35
+ systemctl restart gunicorn
36
+
0 commit comments