Example #1
0
        protected async Task PublishAsync(TFile file, string commitComment)
        {
            await WriteFileAsync(file);
            await CommitFileAsync(file, commitComment);
            await PublishFileAsync(file);

            await GitRepository.PushAsync(GitBranches.Master);
        }
Example #2
0
 public void WhenICallPushAsyncBranch()
 {
     _gitRepository.PushAsync(_given.Git.Branch).Wait();
 }