Skip to content

Commit 6d41fce

Browse files
committed
📝 add log in shell
1 parent 521c9c9 commit 6d41fce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/actions/deploy/entrypoint.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ REPOSITORY_PATH="https://${ACCESS_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" &&
4242

4343
git checkout "${BASE_BRANCH:-master}"
4444

45-
echo "-----------------------Running build scripts... ---------------"
45+
echo "----------------Running build scripts ---------------"
4646

4747
eval "$BUILD_SCRIPT" && \
4848

@@ -57,10 +57,14 @@ then
5757
git pull origin "${DEPLOY_BRANCH:-gh-pages}"
5858
fi
5959

60+
echo "---------remove node_modules && other useless files------"
6061
shopt -s extglob
6162

6263
rm -rf !($FOLDER) && cp -r $FOLDER/. ./ && rm -r $FOLDER && \
6364

65+
66+
echo "---------generate commit && push------"
67+
6468
if [ -z "$(git status --porcelain)" ]; then
6569
echo "Nothing to deploy"
6670
else

0 commit comments

Comments
 (0)