Update gitea-mirror.sh

This commit is contained in:
Tobias 2025-06-02 10:29:28 +02:00 committed by GitHub
parent f7a8bdceb7
commit 90cd46cd3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,10 +46,11 @@ function update_script() {
ln -sf /opt/bun/bin/bun /usr/local/bin/bun ln -sf /opt/bun/bin/bun /usr/local/bin/bun
ln -sf /opt/bun/bin/bun /usr/local/bin/bunx ln -sf /opt/bun/bin/bun /usr/local/bin/bunx
msg_ok "Installed Bun" msg_ok "Installed Bun"
msg_info "Updating and rebuilding ${APP} to v${RELEASE} (Patience)"
rm -rf /opt/gitea-mirror rm -rf /opt/gitea-mirror
fetch_and_deploy_gh_release "arunavo4/gitea-mirror" fetch_and_deploy_gh_release "arunavo4/gitea-mirror"
msg_info "Updating and rebuilding ${APP} to v${RELEASE} (Patience)"
cd /opt/gitea-mirror cd /opt/gitea-mirror
bun install bun install
bun run build bun run build