Skip to content

Commit

Permalink
Detect dist_path same with repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Apr 3, 2024
1 parent d3825fd commit 1845696
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actions/smart-vercel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ runs:
cp -r ${DIR_NAME} ${REPO_NAME}
fi
else
mv ${DIST_PATH} ${REPO_NAME}
if [ "${DIS_PATH}" != "${REPO_NAME}" ]; then
mv ${DIST_PATH} ${REPO_NAME}
fi
fi
PATH_VERCEL_JSON=./vercel.json
Expand Down

0 comments on commit 1845696

Please sign in to comment.