Skip to content

Commit 67bbd52

Browse files
committed
fix: use ./ in deploy script instead of home variable
1 parent 23ee3a4 commit 67bbd52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/toolforge-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
request_pty: true
3131
script: |
3232
set -xe
33-
become ${{ matrix.tool }} git -C '$HOME/www/python/src' pull origin master
33+
become ${{ matrix.tool }} git -C ./www/python/src pull origin master
3434
become ${{ matrix.tool }} webservice python3.11 shell -- webservice-python-bootstrap
35-
become ${{ matrix.tool }} webservice python3.11 shell -- '$HOME/www/python/venv/bin/python' '$HOME/www/python/src/manage.py' migrate
36-
become ${{ matrix.tool }} webservice python3.11 shell -- '$HOME/www/python/venv/bin/python' '$HOME/www/python/src/manage.py' collectstatic --noinput
35+
become ${{ matrix.tool }} webservice python3.11 shell -- ./www/python/venv/bin/python ./www/python/src/manage.py migrate
36+
become ${{ matrix.tool }} webservice python3.11 shell -- ./www/python/venv/bin/python ./www/python/src/manage.py collectstatic --noinput
3737
become ${{ matrix.tool }} webservice python3.11 restart
3838
become ${{ matrix.tool }} webservice python3.11 status
3939
become ${{ matrix.tool }} ./www/python/src/restart_celery.sh

0 commit comments

Comments
 (0)