Skip to content

Commit

Permalink
chore: fix credentials provider in Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChecksumDev committed Jul 16, 2024
1 parent 74ad613 commit 573f948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MBSS/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,12 @@ private static void CommitAndPushVersion(BeatSaberVersion version, string branch

var pushOptions = new PushOptions
{
CredentialsProvider = (_, _, _) => new UsernamePasswordCredentials { Username = Environment.GetEnvironmentVariable("GITHUB_TOKEN") }
CredentialsProvider = (_, _, _) => new UsernamePasswordCredentials { Username = Environment.GetEnvironmentVariable("GITHUB_TOKEN"), Password = string.Empty }
};

repo.Network.Push(repo.Branches[branchName], pushOptions);
}

private static async Task SetupDotEnv()
{
var dotenv = await File.ReadAllLinesAsync(EnvFile);
Expand Down

0 comments on commit 573f948

Please sign in to comment.