fix: CI stop archipelago service before replacing binary

The running binary locks the file, causing 'Text file busy' on cp.
Stop the service, copy, then restart.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian 2026-03-26 14:44:32 +00:00
parent 56938eb139
commit e1bda755f2

View File

@ -19,7 +19,9 @@ jobs:
run: |
source $HOME/.cargo/env 2>/dev/null || true
cargo build --release --manifest-path core/Cargo.toml
sudo systemctl stop archipelago 2>/dev/null || true
sudo cp core/target/release/archipelago /usr/local/bin/archipelago
sudo systemctl start archipelago 2>/dev/null || true
- name: Build frontend
run: cd neode-ui && npm ci && npm run build