diff --git a/cd/__init__.py b/cd/__init__.py index cb95ebf..c161dd6 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -35,7 +35,7 @@ def cd_clone_branch(): '--branch', project.branch, '--', project.url, - os.path.realpath(os.curdir), + project.root, ) diff --git a/cmd/cd-clone-branch.sh b/cmd/cd-clone-branch.sh deleted file mode 100755 index e84ff7b..0000000 --- a/cmd/cd-clone-branch.sh +++ /dev/null @@ -1,8 +0,0 @@ -git clone \ ---branch "${GITHUB_REF_NAME}" \ --- \ -"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \ -'.' - -rm --force --recursive \ -'.git' '.gitignore'