Update Up

This commit is contained in:
cluntop 2025-12-18 20:24:05 +08:00
parent e835fe8b48
commit fc07284ba7
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ jobs:
run: | run: |
git checkout --orphan latest_branch git checkout --orphan latest_branch
git add -A git add -A
git commit -m "purge history and cleanup garbage" git commit -m "purge history"
git branch -D main git branch -D main
git branch -m main git branch -m main

View File

@ -61,7 +61,7 @@ jobs:
if [ -n "$(git status --porcelain)" ]; then if [ -n "$(git status --porcelain)" ]; then
echo "Changes detected, committing..." echo "Changes detected, committing..."
git add . git add .
git commit -m "Update m3u $(date '+%m-%d %H:%M')" git commit -m "Update m3u"
git pull --rebase origin main git pull --rebase origin main
git push origin main git push origin main

View File

@ -82,7 +82,7 @@ jobs:
echo "No changes to commit." echo "No changes to commit."
exit 0 exit 0
else else
COMMIT_MSG="Update zip $(date '+%m-%d %H:%M')" COMMIT_MSG="Update zip"
git commit -m "$COMMIT_MSG" git commit -m "$COMMIT_MSG"
git push origin HEAD:main git push origin HEAD:main

2
git.sh
View File

@ -178,7 +178,7 @@ submit() {
git add . git add .
info_msg "3. 提交推送..." info_msg "3. 提交推送..."
msg="Update Up $(date '+%m-%d %H:%M')" msg="Update Up"
git commit -m "$msg" git commit -m "$msg"
if git push origin "$curr"; then if git push origin "$curr"; then