Update small.yml

This commit is contained in:
有種 2022-04-17 10:52:33 +08:00 committed by GitHub
parent ccac1119cd
commit 658cddf2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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