Add 'local' deploy mode to Deploy-Brass.ps1 #1

Merged
Matt merged 1 commits from feature/local-deploy-mode into main 2026-05-22 15:14:44 +00:00
Owner

Enables running Deploy-Brass.ps1 on the server itself (glados) without SSH-to-self. Also fixes a pre-existing pgrep regex bug that mis-classified the running daemon as stopped when the deploy script ran on the target host.

Enables running Deploy-Brass.ps1 on the server itself (glados) without SSH-to-self. Also fixes a pre-existing pgrep regex bug that mis-classified the running daemon as stopped when the deploy script ran on the target host.
Matt added 1 commit 2026-05-22 15:14:28 +00:00
When ServerSshHost = 'local' the server-binary stage skips scp/ssh and
does an in-place Copy-Item + chmod + Move-Item on the local filesystem.
Pre-flight pgrep also runs locally. Allows running the deploy script on
the server itself (glados in our case) without setting up ssh-to-self.

Other deploy modes (remote scp/ssh) unchanged.
Matt merged commit db4534e427 into main 2026-05-22 15:14:44 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minecraft/brass-and-sigil#1