mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
Fetching before resetting.
This commit is contained in:
parent
e0b5966717
commit
fac3a8eba8
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ npm install -g 'git+https://github.com/pirate/readability-extractor'
|
|||
# Get the latest WROLPi code
|
||||
git --version
|
||||
git clone https://github.com/lrnselfreliance/wrolpi.git /opt/wrolpi || :
|
||||
(cd /opt/wrolpi && git checkout "${BRANCH}" && git reset --hard origin/"${BRANCH}") || exit 3
|
||||
(cd /opt/wrolpi && git fetch && git checkout "${BRANCH}" && git reset --hard origin/"${BRANCH}") || exit 3
|
||||
|
||||
# Setup the virtual environment that main.py expects
|
||||
pip3 --version || (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue