Added to cargo build

This commit is contained in:
GoldenSpring 2025-12-24 02:28:37 +03:00
parent 262d821172
commit 5fa8f5433a
No known key found for this signature in database
GPG Key ID: 75701174BCB6A808
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ function update_script() {
cd /opt/rustypaste cd /opt/rustypaste
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rustypaste" "orhun/rustypaste" "tarball" "latest" "/opt/rustypaste" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rustypaste" "orhun/rustypaste" "tarball" "latest" "/opt/rustypaste"
sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml
cargo build --locked --release $STD cargo build --locked --release
msg_ok "Updated rustypaste to latest" msg_ok "Updated rustypaste to latest"
msg_info "Starting rustypaste" msg_info "Starting rustypaste"

View File

@ -25,7 +25,7 @@ fetch_and_deploy_gh_release "rustypaste" "orhun/rustypaste" "tarball" "latest" "
msg_info "Setting up rustypaste" msg_info "Setting up rustypaste"
cd /opt/rustypaste cd /opt/rustypaste
sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml sed -i 's|^address = ".*"|address = "0.0.0.0:8000"|' config.toml
cargo build --locked --release $STD cargo build --locked --release
msg_ok "Set up rustypaste" msg_ok "Set up rustypaste"
msg_info "Creating Service" msg_info "Creating Service"