We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26f4401 commit da8072bCopy full SHA for da8072b
.github/workflows/django.yml
@@ -31,9 +31,9 @@ jobs:
31
- name: Deploy to Server
32
run: |
33
ssh server '
34
- cd /home/django/bakeup/ &&
+ cd ${{ ROOT_DIR }} &&
35
git pull origin main &&
36
- source /home/django/djangoenv/bin/activate &&
+ source ${{ ENV_DIR }}bin/activate &&
37
pip install -r requirements/production.txt &&
38
python manage.py migrate --settings=config.settings.production &&
39
python manage.py collectstatic --noinput --settings=config.settings.production &&
0 commit comments