Skip to content

Commit

Permalink
Try specifying the access token with x-access-token when pushing gith…
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy authored Aug 21, 2024
1 parent f07f74d commit 48927c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ Target.create "DotNetPushToNuGet" (fun _ ->

Target.create "ReleaseDocs" (fun _ ->
Shell.cleanDir "gh-pages"
let auth = sprintf "%s:x-oauth-basic@" githubToken.Value
let auth = sprintf "x-access-token:%s@" githubToken.Value
let url = sprintf "https://%sgithub.com/%s/%s.git" auth githubReleaseUser gitName
Git.Repository.cloneSingleBranch "" url "gh-pages" "gh-pages"

Expand Down

0 comments on commit 48927c7

Please sign in to comment.