Skip to content

Commit

Permalink
Add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Aug 10, 2023
1 parent 25efa92 commit d0a2f75
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/update_curseforge_releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

name: 'Update Curseforge Releases'

on:
push:
branches:
- main
repository_dispatch:
types:
- update-curseforge-releases

permissions:
contents: write

jobs:
update_github_releases:
name: Update Curseforge Release Index
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: update-curseforge-releases
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run index-curseforge-releases
- uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a
28 changes: 28 additions & 0 deletions .github/workflows/update_modrinth_releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

name: 'Update Modrinth Releases'

on:
push:
branches:
- main
repository_dispatch:
types:
- update-modrinth-releases

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-modrinth-releases
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run index-modrinth-releases
- uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a

0 comments on commit d0a2f75

Please sign in to comment.