From da932c0473d2019d9bfb2c82dc7f39dbe064630a Mon Sep 17 00:00:00 2001 From: Jason Green Date: Fri, 27 Jun 2025 08:07:25 -0700 Subject: [PATCH] Convert deployment to use fetch_and_deploy_gh_release function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com> --- ct/scraparr.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ct/scraparr.sh b/ct/scraparr.sh index 04ca13ef..d4004df3 100644 --- a/ct/scraparr.sh +++ b/ct/scraparr.sh @@ -35,10 +35,7 @@ function update_script() { msg_ok "Services Stopped" msg_info "Updating ${APP} to v${RELEASE}" - temp_file=$(mktemp) - curl -fsSL "https://github.com/thecfu/scraparr/archive/refs/tags/v2.2.2.tar.gz" -o "$temp_file" - tar -zxf "$temp_file" - mv "scrappar-${RELEASE}" /opt/scrappar + fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" pip -q install -r /opt/scrappar/src/scrappar/requirements.txt --root-user-action=ignore msg_ok "Updated ${APP}"