diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 4cbed6a..3d285c4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -15,9 +15,9 @@ jobs: git clone --quiet "$REPO" /tmp/tipibot-ci cd /tmp/tipibot-ci git checkout --quiet ${{ github.sha }} - python3 -m venv .venv - .venv/bin/pip install -q -r requirements-dev.txt - .venv/bin/python -m pytest tests/ -q + python3 -m venv /opt/tipibot-ci-venv + /opt/tipibot-ci-venv/bin/pip install -q -r requirements-dev.txt + /opt/tipibot-ci-venv/bin/python -m pytest tests/ -q deploy: runs-on: linux @@ -32,4 +32,4 @@ jobs: sudo systemctl restart tipibot_dev # dev bot first, as canary sleep 5 systemctl is-active --quiet tipibot_dev # dev crashed on startup -> abort - sudo systemctl restart tipibot # eco bot only if dev survived + sudo systemctl restart tipibot_eco # eco bot only if dev survived