Update README.md #326
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see https://github.com/JamesIves/github-sponsors-readme-action | |
name: Generate Sponsors README | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.SPONSORS_TOKEN }} | |
file: 'README.md' | |
if: ${{ github.repository == 'jesseduffield/lazygit' }} | |
- name: Commit and push if changed | |
run: |- | |
git diff | |
git config --global user.email "[email protected]" | |
git config --global user.name "README-bot" | |
git add README.md | |
git commit -m "Updated README.md" || exit 0 | |
git push |