2025-01-15 19:56:01 -08:00
|
|
|
name: Update meta.json
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
runs-on: docker
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
2025-01-15 20:25:54 -08:00
|
|
|
- name: Setup Deno
|
2025-01-15 20:26:27 -08:00
|
|
|
uses: https://github.com/denoland/setup-deno@v2
|
2025-01-15 20:25:54 -08:00
|
|
|
with:
|
|
|
|
deno-version: v2.x
|
2025-01-15 20:26:27 -08:00
|
|
|
|
2025-01-15 19:56:01 -08:00
|
|
|
- name: Run Update script
|
2025-01-15 20:25:54 -08:00
|
|
|
run: deno install && deno task update
|
2025-01-15 19:56:01 -08:00
|
|
|
|
|
|
|
- name: Commit changes
|
|
|
|
run: |
|
|
|
|
git config --global user.name 'Automatic Updates'
|
|
|
|
git config --global user.email 'autoupdate@noreply.git.smgames.club'
|
|
|
|
git commit -am "Automated update"
|
|
|
|
git push
|