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 521c9c9 commit 6d41fceCopy full SHA for 6d41fce
.github/actions/deploy/entrypoint.sh
@@ -42,7 +42,7 @@ REPOSITORY_PATH="https://${ACCESS_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" &&
42
43
git checkout "${BASE_BRANCH:-master}"
44
45
-echo "-----------------------Running build scripts... ---------------"
+echo "----------------Running build scripts ---------------"
46
47
eval "$BUILD_SCRIPT" && \
48
@@ -57,10 +57,14 @@ then
57
git pull origin "${DEPLOY_BRANCH:-gh-pages}"
58
fi
59
60
+echo "---------remove node_modules && other useless files------"
61
shopt -s extglob
62
63
rm -rf !($FOLDER) && cp -r $FOLDER/. ./ && rm -r $FOLDER && \
64
65
+
66
+echo "---------generate commit && push------"
67
68
if [ -z "$(git status --porcelain)" ]; then
69
echo "Nothing to deploy"
70
else
0 commit comments