Skip to content

Commit eb12531

Browse files
committed
Fix refs
1 parent f5ed7ad commit eb12531

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Jetbrains
22
/.idea
33
/*.iml
4+
5+
/public

entrypoint.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,9 @@ cd "$BUILD_DIR"
1919
git init
2020
git config user.name "${GITHUB_ACTOR}"
2121
git 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}"
3022
git add .
3123
git 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"
3325
rm -rf .git
3426

3527
cd "$GITHUB_WORKSPACE"

0 commit comments

Comments
 (0)