mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-25 18:40:06 -04:00
Calling second upgrade script so new upgrades can be pulled from git.
This commit is contained in:
parent
abb0b49315
commit
dc9384ba4b
2 changed files with 5 additions and 1 deletions
4
scripts/upgrade.sh
Normal file
4
scripts/upgrade.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
# Upgrade the API and App.
|
||||
/bin/bash /opt/wrolpi/scripts/build_api_and_app.sh
|
||||
|
|
@ -43,7 +43,7 @@ systemctl stop wrolpi-app
|
|||
# Pull the latest commit of the requested branch.
|
||||
(cd /opt/wrolpi && git fetch && git checkout "${BRANCH}" && git reset --hard origin/"${BRANCH}") || exit 4
|
||||
|
||||
/opt/wrolpi/scripts/build_api_and_app.sh 2>&1 | tee /opt/wrolpi/upgrade.log
|
||||
/opt/wrolpi/scripts/upgrade.sh 2>&1 | tee /opt/wrolpi/upgrade.log
|
||||
|
||||
set +x
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue