Skip to content

Commit

Permalink
Copy file
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Apr 16, 2024
1 parent 5278bfe commit d8cb769
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actions/smart-vercel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ runs:
fi
else
if [ "${DIST_PATH}" != "${REPO_NAME}" ]; then
mv ${DIST_PATH} ${REPO_NAME}
cp -r ${DIST_PATH} ${REPO_NAME}
fi
fi
PATH_VERCEL_JSON=./vercel.json
if [ -f "${PATH_VERCEL_JSON}" ]; then
mv ${PATH_VERCEL_JSON} ${REPO_NAME}/
cp -r ${PATH_VERCEL_JSON} ${REPO_NAME}/
fi
cd ${REPO_NAME}
Expand Down Expand Up @@ -282,7 +282,7 @@ runs:
cd ..
if [ "${DIR_NAME}" != "${REPO_NAME}" ]; then
rm -rf ${DIR_NAME}
mv ${REPO_NAME} ${DIR_NAME}
cp -r ${REPO_NAME} ${DIR_NAME}
fi
cd ${DIR_NAME}
fi
Expand Down

0 comments on commit d8cb769

Please sign in to comment.