spcd/cd/cd-clone-branch
2024-03-25 20:01:32 +01:00

8 lines
145 B
Text
Executable file

git clone \
--branch "${GITHUB_REF_NAME}" \
-- \
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \
'.'
rm --force --recursive \
'.git' '.gitignore'