From 71f3ce2d429ac69bc5f611f92ab2fbef3437a8f3 Mon Sep 17 00:00:00 2001 From: Matt Stevens Date: Mon, 24 Nov 2025 12:12:29 +0000 Subject: [PATCH] Do sync step sooner, avoid any extra junk made during tests/upload --- engine/Tools/SboxBuild/Pipelines/Deploy.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/engine/Tools/SboxBuild/Pipelines/Deploy.cs b/engine/Tools/SboxBuild/Pipelines/Deploy.cs index 8ca029e5..c1fc6aa3 100644 --- a/engine/Tools/SboxBuild/Pipelines/Deploy.cs +++ b/engine/Tools/SboxBuild/Pipelines/Deploy.cs @@ -23,6 +23,12 @@ internal class Deploy builder.AddStep( new BuildShaders( "Build Shaders" ) ); builder.AddStep( new BuildContent( "Build Content" ) ); + if ( target == BuildTarget.Staging ) + { + // Sync to public repository + builder.AddStep( new SyncPublicRepo( "Sync to Public Repository" ) ); + } + // Testing builder.AddStep( new Test( "Tests" ) ); @@ -39,12 +45,6 @@ internal class Deploy string branch = target == BuildTarget.Staging ? "staging" : "release"; builder.AddStep( new UploadSteam( "Upload to Steam", branch ) ); - if ( target == BuildTarget.Staging ) - { - // Sync to public repository - builder.AddStep( new SyncPublicRepo( "Sync to Public Repository" ) ); - } - // Notification var commitMessage = Environment.GetEnvironmentVariable( "COMMIT_MESSAGE" ) ?? "Build completed"; var version = Utility.VersionName();