diff --git a/.github/workflows/merge-to-docs-branch.yml b/.github/workflows/merge-to-docs-branch.yml index 69bbd7a..a16376b 100644 --- a/.github/workflows/merge-to-docs-branch.yml +++ b/.github/workflows/merge-to-docs-branch.yml @@ -13,7 +13,6 @@ jobs: - name: clone run: | git clone https://${{ secrets.GITHUB_TOKEN }}@github.com/PaddleJitLab/CUDATutorial.git CUDATutorial - git fetch --all - name: Merge to Docs Branch run: | @@ -22,6 +21,7 @@ jobs: git config pull.rebase false cd CUDATutorial/ + git fetch --all git checkout -b docs origin/docs git pull origin develop