Fix deploy.yml
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user