File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 11# Jetbrains
22/.idea
33/* .iml
4+
5+ /public
Original file line number Diff line number Diff line change @@ -19,17 +19,9 @@ cd "$BUILD_DIR"
1919git init
2020git config user.name " ${GITHUB_ACTOR} "
2121git config user.email " ${GITHUB_ACTOR} @users.noreply.github.com"
22-
23- if [ -z " $( git status --porcelain) " ]; then
24- echo " ⚠️ Nothing to publish"
25- exit 0
26- fi
27-
28- git remote rm origin > /dev/null 2>&1 || true
29- git remote add origin " ${REPO} "
3022git add .
3123git commit --allow-empty -m ' Deploy to GitHub pages'
32- git push --force --quiet " https://${GITHUB_ACTOR} :${GITHUB_TOKEN} @github.com/${GITHUB_REPOSITORY} .git" " $TARGET_BRANCH "
24+ git push --force --quiet " https://${GITHUB_ACTOR} :${GITHUB_TOKEN} @github.com/${GITHUB_REPOSITORY} .git" " master: $TARGET_BRANCH "
3325rm -rf .git
3426
3527cd " $GITHUB_WORKSPACE "
You can’t perform that action at this time.
0 commit comments