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 201f9af commit 47a6d63Copy full SHA for 47a6d63
entrypoint.sh
@@ -55,7 +55,7 @@ remote_branch="${PUBLISH_BRANCH}"
55
local_dir="${HOME}/$(tr -cd 'a-f0-9' < /dev/urandom | head -c 32)"
56
if git clone --depth=1 --single-branch --branch "${remote_branch}" "${remote_repo}" "${local_dir}"; then
57
cd "${local_dir}"
58
- git rm -r '*'
+ git rm -r --ignore-unmatch '*'
59
find "${GITHUB_WORKSPACE}/${PUBLISH_DIR}" -maxdepth 1 | \
60
tail -n +2 | \
61
xargs -I % cp -rf % "${local_dir}/"
0 commit comments