From 47eb49b885e8e67463f0f3f7dc05d9423cc3a37e Mon Sep 17 00:00:00 2001 From: Morten Nielsen <1378165+dotMorten@users.noreply.github.com> Date: Tue, 16 Jun 2020 11:43:22 -0700 Subject: [PATCH] Update ghpages.yml --- .github/workflows/ghpages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index ed93d83..4eceacd 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -36,7 +36,7 @@ jobs: - name: Build Documentation env: - DOCFX_SOURCE_BRANCH_NAME: master + DOCFX_SOURCE_BRANCH_NAME: main run: | nuget install memberpage -Version 2.48.1 -OutputDirectory docs .tools/docfx/docfx.exe docs/docfx.json @@ -56,6 +56,6 @@ jobs: git config --local core.autocrlf false git add . git commit -m "Auto-update doc from commit %GITHUB_SHA%" - git push --force https://%ACCESS_TOKEN%@github.com/%GITHUB_REPOSITORY%.git main:%BRANCH% + git push --force https://%ACCESS_TOKEN%@github.com/%GITHUB_REPOSITORY%.git master:%BRANCH% rmdir .git /S /Q