Fix test auth conditional

This commit is contained in:
Jordan Dominion
2024-09-03 23:17:15 -04:00
parent 91f56e5f85
commit 3a7f344eea
@@ -128,9 +128,7 @@ namespace Tgstation.Server.Tests.Live.Instance
updated = await Checkout(new RepositoryUpdateRequest { Reference = "master" }, false, true, cancellationToken);
// enable the good shit if possible
if (TestingUtils.RunningInGitHubActions
|| String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TGS_TEST_GITHUB_TOKEN"))
|| Environment.MachineName.Equals("CYBERSTATIONXVI", StringComparison.OrdinalIgnoreCase))
if (!String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TGS_TEST_GITHUB_TOKEN")))
await repositoryClient.Update(new RepositoryUpdateRequest
{
CreateGitHubDeployments = true,