Skip to content

Commit

Permalink
Sperate add and commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rk0cc committed Jan 30, 2024
1 parent 8fd875d commit adea443
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/autodl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
working-directory: lib/
run: curl -L https://raw.githubusercontent.com/ozh/github-colors/master/colors.json -o colour.json
- name: Config Git
id: gitconf
run: |
git config --local user.name "Colour fetch"
git config --local user.email "enquiry@rk0cc.xyz"
git commit -a -m "Update colour backup data"
git add .
git commit -m "Update colour backup data"
- name: Push
if: ${{ steps.gitconf.outcome == success() }}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit adea443

Please sign in to comment.