diff --git a/.gitea/workflows/update-readme.yaml b/.gitea/workflows/update-readme.yaml index d481576..6ad758d 100644 --- a/.gitea/workflows/update-readme.yaml +++ b/.gitea/workflows/update-readme.yaml @@ -33,10 +33,8 @@ jobs: git config user.name "Ares-Bot" git config user.email "ares@beane.me" git add README.md - if git diff --staged --quiet; then - echo "No changes detected." + echo "No changes" else git commit -m "chore: sync code velocity to $FORMATTED_LOC LOC [skip ci]" - git push http://${{ secrets.GITHUB_TOKEN }}@gitea-http:3000/${{ github.repository }}.git main - fi + git push http://${{ secrets.GITHUB_TOKEN }}@gitea-http:3000/${{ github.repository }}.git ${{ github.ref_name }}