mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 23:17:20 +01:00
Fix test auth conditional
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user