Skip to content

Update supporters #8186

Update supporters

Update supporters #8186

name: Update supporters
on:
schedule:
- cron: '0 * * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_TOKEN }}
fetch-depth: 0
- uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '17'
- name: Update supporters
env:
PATREON_TOKEN: ${{ secrets.PATREON_TOKEN }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "Aether-Team-Bot"
cd ./supporters
java -jar PatreonUpdater.jar
git status
git add database.json
git commit -m "chore: Update supporters"
git fetch origin main
git push origin HEAD:main