Fix deploy.yml

This commit is contained in:
Rene Arumetsa
2026-07-27 01:04:26 +03:00
parent 83a60cda55
commit 7fc0ccc77f

View File

@@ -10,7 +10,7 @@ jobs:
steps: steps:
- name: Run test suite - name: Run test suite
run: | run: |
REPO=$(git -C ~/tipibot remote get-url origin) REPO=$(git -C /root/tipibot remote get-url origin)
rm -rf /tmp/tipibot-ci rm -rf /tmp/tipibot-ci
git clone --quiet "$REPO" /tmp/tipibot-ci git clone --quiet "$REPO" /tmp/tipibot-ci
cd /tmp/tipibot-ci cd /tmp/tipibot-ci
@@ -25,7 +25,7 @@ jobs:
steps: steps:
- name: Deploy - name: Deploy
run: | run: |
cd ~/tipibot cd /root/tipibot
git pull git pull
source .venv/bin/activate source .venv/bin/activate
pip install -r requirements.txt pip install -r requirements.txt