Skip to content

Commit f83fbff

Browse files
committed
fix: forceOrphan condition check
1 parent 7216888 commit f83fbff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ remote_branch="${PUBLISH_BRANCH}"
7878

7979
local_dir="${HOME}/ghpages_${RANDOM}"
8080

81-
if [ -n "${INPUT_FORCEORPHAN}" ]; then
81+
if [[ "${INPUT_FORCEORPHAN}" == "true" ]]; then
8282
print_info "force ophan: ${INPUT_FORCEORPHAN}"
8383
cd "${PUBLISH_DIR}"
8484
git init

0 commit comments

Comments
 (0)