diff --git a/circle.yml b/circle.yml index 7c819bd01a..b2a1d5847a 100644 --- a/circle.yml +++ b/circle.yml @@ -39,10 +39,7 @@ machine: checkout: post: - - | - git clone --depth 1 ${ST2_PACKAGES_REPO} /home/ubuntu/st2/st2-packages - cd /home/ubuntu/st2/st2-packages - git checkout ${CIRCLE_BRANCH} || true + - git clone -b ${CIRCLE_BRANCH} --single-branch --depth 1 ${ST2_PACKAGES_REPO} /home/ubuntu/st2/st2-packages - .circle/buildenv.sh dependencies: