Skip to content

Commit 1cd5652

Browse files
authored
fix synta
1 parent c772a7b commit 1cd5652

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/django.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
END
3131
- name: Deploy to Server
3232
env:
33-
ROOT_DIR: ${{ ROOT_DIR }}
34-
ENV_DIR: ${{ ENV_DIR }}
33+
ROOT_DIR: ${{ vars.ROOT_DIR }}
34+
ENV_DIR: ${{ vars.ENV_DIR }}
3535
run: |
3636
ssh server '
37-
cd ${{ ROOT_DIR }} &&
37+
cd $ROOT_DIR &&
3838
git pull origin main &&
39-
source ${{ ENV_DIR }}bin/activate &&
39+
source $ENV_DIRbin/activate &&
4040
pip install -r requirements/production.txt &&
4141
python manage.py migrate --settings=config.settings.production &&
4242
python manage.py collectstatic --noinput --settings=config.settings.production &&

0 commit comments

Comments
 (0)