mirror of
https://github.com/kenzok8/AutoSync.git
synced 2025-01-08 11:47:26 +08:00
Update small.yml
This commit is contained in:
parent
ccac1119cd
commit
658cddf2a5
3
.github/workflows/small.yml
vendored
3
.github/workflows/small.yml
vendored
@ -52,8 +52,7 @@ jobs:
|
||||
[ -e $GITHUB_WORKSPACE/LICENSE ] && cp $GITHUB_WORKSPACE/LICENSE $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
[ -e $GITHUB_WORKSPACE/README.md ] && cp $GITHUB_WORKSPACE/README.md $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
cd $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
git add .
|
||||
git commit -am "update $(date +%Y-%m-%d" "%H:%M:%S)"
|
||||
git diff --exit-code || git commit -am "update $(date +%Y-%m-%d" "%H:%M:%S)"
|
||||
git push --force "https://${{ secrets.ACCESS_TOKEN }}@github.com/kenzok8/small.git" HEAD:${{matrix.target}}
|
||||
|
||||
- name: Delete workflow runs
|
||||
|
Loading…
Reference in New Issue
Block a user