Skip to content

Update Modrinth Releases #934

Update Modrinth Releases

Update Modrinth Releases #934

name: 'Update Modrinth Releases'
on:
repository_dispatch:
types:
- update-modrinth-releases
workflow_dispatch:
schedule:
- cron: '30 5,17 * * *'
permissions:
contents: write
jobs:
update_github_releases:
name: Update Modrinth Release Index
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: update-releases
cancel-in-progress: false
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run index-modrinth-releases
- uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a
with:
commit_message: Updated Modrinth Release-Index