From dc8774d793450b866153895bd1d059067e373d61 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sun, 14 May 2023 11:42:57 -0300 Subject: [PATCH] Fixed gitlab-ci --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dfa5f85..3ad6261 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,6 @@ deploy: - ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts script: - - ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd repo && git stash && git pull --force origin master && pip install -r requirements.txt && systemctl restart theinfinitewebsite" + - ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd repo && git stash && git pull --force origin master && ./.venv/bin/pip install -r requirements.txt && systemctl restart theinfinitewebsite" only: - master