Skip to content

Commit b3a0039

Browse files
author
robot
committed
feat: commit if nessasry
1 parent e2422be commit b3a0039

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/schedule.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,4 @@ jobs:
2222
run: npm run daily-schedule
2323
- name: Commit static
2424
run: |
25-
git config --global user.name 'robot'
26-
git commit -am "feat: from daily schedule"
27-
git push
25+
source ./scripts/commit.sh

scripts/commit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if [[ `git status --porcelain` ]]; then
22
git config --global user.name 'robot'
33
git add .
4-
git commit -m "feat: automate generate data"
4+
git commit -m "commit automatically"
55
git push
66
fi

0 commit comments

Comments
 (0)