spcd/cd/cd-clone-branch.sh

9 lines
145 B
Bash
Raw Normal View History

2024-03-22 22:34:01 +00:00
git clone \
--branch "${GITHUB_REF_NAME}" \
-- \
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \
'.'
2024-03-22 23:04:18 +00:00
rm --force --recursive \
'.git' '.gitignore'