From 7c8f5ef46f9af8e2e0b4ab3dd300f4b8139a2926 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 23 Aug 2024 09:49:51 +0300 Subject: [PATCH] Use `git switch` instead of `git checkout` Signed-off-by: Martin Tzvetanov Grigorov --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 8a3eeddfc50..d0522a14114 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -268,7 +268,7 @@ jobs: touch .nojekyll git add --all git commit -m "Publish built website triggered by ${{ github.sha }}" - git checkout asf-site + git switch asf-site git reset --hard asf-site-staging git push origin asf-site --force