Skip to content

Commit 1426bea

Browse files
committed
test ci
1 parent 7af6831 commit 1426bea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@ jobs:
5151
run: |
5252
set -e
5353
COMMIT_INFO=$(curl -s https://whatthecommit.com/index.txt)
54+
echo "$(git status --porcelain)"
5455
if [ -n "$(git status --porcelain)" ]; then
5556
git config --global user.name "github-actions[bot]"
5657
git config --global user.email "github-actions[bot]@users.noreply.github.com"
5758
echo "Push to changes"
5859
git add --all
5960
git commit -m "$COMMIT_INFO"
60-
git push origin master
61+
git push origin HEAD:master
6162
else
6263
echo "No changes to commit"
6364
fi

0 commit comments

Comments
 (0)