Compare commits

...

2 Commits

Author SHA1 Message Date
Håvard Gjøby Thom 8cc9b6d69b
Merge a096b53783 into eceb52a67a 2024-10-29 15:52:15 +01:00
Jacob eceb52a67a
Change update script (#4005)
Change update script to make sure that it overwrites all the local changes in the local browserless git folder
2024-10-29 09:45:40 -04:00
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ fi
pip3 install changedetection.io --upgrade &>/dev/null
pip3 install playwright --upgrade &>/dev/null
if [[ -f /etc/systemd/system/browserless.service ]]; then
git -C /opt/browserless/ pull &>/dev/null
git -C /opt/browserless/ fetch --all &>/dev/null
git -C /opt/browserless/ reset --hard origin/main &>/dev/null
npm update --prefix /opt/browserless &>/dev/null
npm run build --prefix /opt/browserless &>/dev/null
npm run build:function --prefix /opt/browserless &>/dev/null