From 87a956d18641ec2bcc0ba75874e51d3bcc00fb1d Mon Sep 17 00:00:00 2001 From: Srinandan Sridhar <13950006+srinandan@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:21:29 -0800 Subject: [PATCH] Update gen-docs.yml --- .github/workflows/gen-docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gen-docs.yml b/.github/workflows/gen-docs.yml index f5efdd42..1bc8796b 100644 --- a/.github/workflows/gen-docs.yml +++ b/.github/workflows/gen-docs.yml @@ -42,6 +42,7 @@ jobs: git config --global user.name "$(git log -n 1 --pretty=format:%an)" git config --global user.email "$(git log -n 1 --pretty=format:%ae)" + git fetch origin git checkout gh_pages git reset --hard origin/main