Skip to content

Commit 1f37fbb

Browse files
authored
BabyBuddy: fix path issues (#5856)
1 parent 387f2c7 commit 1f37fbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ct/babybuddy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ function update_script() {
3838
msg_ok "Services Stopped"
3939

4040
msg_info "Cleaning old files"
41-
cp babybuddy/settings/production.py /tmp/production.py.bak
41+
cp /opt/babybuddy/babybuddy/settings/production.py /tmp/production.py.bak
4242
find . -mindepth 1 -maxdepth 1 ! -name '.venv' -exec rm -rf {} +
4343
msg_ok "Cleaned old files"
4444

4545
fetch_and_deploy_gh_release "babybuddy" "babybuddy/babybuddy"
4646

4747
msg_info "Updating ${APP} to v${RELEASE}"
4848
cd /opt/babybuddy
49-
mv /tmp/production.py.bak babybuddy/settings/production.py
49+
mv /tmp/production.py.bak /opt/babybuddy/babybuddy/settings/production.py
5050
source .venv/bin/activate
5151
$STD uv pip install -r requirements.txt
5252
$STD python manage.py migrate

0 commit comments

Comments
 (0)