spcd/cd-clone-branch

9 lines
145 B
Text
Raw Normal View History

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