fix
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
timezone: "Asia/Shanghai"
|
||||||
|
time: "07:00"
|
||||||
|
pull-request-branch-name:
|
||||||
|
separator: "-"
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
git add .
|
git add .
|
||||||
if ! git diff-index --quiet HEAD --; then
|
if ! git diff-index --quiet HEAD --; then
|
||||||
git commit -m "潇洒更新 $(date +%Y%m%d%H%M)"
|
git commit -m "潇洒更新 $(date +%Y%m%d%H%M)"
|
||||||
git push -f origin main
|
git push -f origin master
|
||||||
else
|
else
|
||||||
echo "没有文件更新,不执行 git push"
|
echo "没有文件更新,不执行 git push"
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user