# Local deploy configuration. Copy this file to `deploy.config.ps1` and fill in # real values. `deploy.config.ps1` is gitignored so your local paths and the # server hostname never end up in version control. # # Deploy-Brass.ps1 dot-sources this file. Every variable below is required. # ─── Public file hosting ─────────────────────────────────────────────────── # Local path that maps (via SMB or similar) to the public docroot that hosts # `manifest.json` and the launcher .exe. Files copied here become reachable at # the public URLs embedded in the manifest (`launcherUrl`, file URLs, etc.). # Example: 'Z:\www\html\example.com\public\pack' $DeployShare = 'CHANGE_ME' # Public URL of the deployed manifest. Used for the version-bump pre-flight: # Deploy-Brass.ps1 fetches this before deploying so it can refuse if you # changed pack content but forgot to bump pack/pack.lock.json's version # (clients with a cached pack at that version would skip the sync). $ManifestPublicUrl = 'https://CHANGE_ME/pack/manifest.json' # ─── Server (brass-sigil-server daemon host) ─────────────────────────────── # user@host for the Linux box running the daemon. $ServerSshHost = 'user@CHANGE_ME' # Path to the local SSH private key authorised on the server. $ServerSshKey = "$env:USERPROFILE\.ssh\id_ed25519" # Absolute path on the Linux box where the brass-sigil-server binary lives. # `Deploy-Brass.ps1` uploads to ".new" then `mv` over for atomic swap. $ServerBinaryRemote = '/home/user/brass-sigil-server/brass-sigil-server' # ─── Build outputs (don't normally need to change) ───────────────────────── $LauncherPublishDir = 'launcher\bin\Release\net8.0-windows\win-x64\publish' $LauncherExeName = 'ModpackLauncher.exe' # what dotnet publish produces $LauncherDeployedAs = 'BrassAndSigil-Launcher.exe' # filename on the public host $ServerPublishDir = 'server\bin\Release\net8.0\linux-x64\publish' $ServerExeName = 'brass-sigil-server'