We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eedda6 commit 493f73cCopy full SHA for 493f73c
entrypoint.sh
@@ -62,8 +62,9 @@ local_dir="${HOME}/$(tr -cd 'a-f0-9' < /dev/urandom | head -c 32)"
62
if git clone --depth=1 --single-branch --branch "${remote_branch}" "${remote_repo}" "${local_dir}"; then
63
cd "${local_dir}"
64
65
- print_info "Keeping existing files: ${INPUT_KEEPFILES}"
66
- if [[ ${INPUT_KEEPFILES} != "true" ]]; then
+ if [[ ${INPUT_KEEPFILES} == "true" ]]; then
+ print_info "Keeping existing files: ${INPUT_KEEPFILES}"
67
+ else
68
git rm -r --ignore-unmatch '*'
69
fi
70
0 commit comments