mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-03-21 17:54:13 -05:00
Update query updater script
This commit is contained in:
parent
c74c3b626e
commit
4e933667e7
16
.github/workflows/update-query-hashes.yml
vendored
16
.github/workflows/update-query-hashes.yml
vendored
|
|
@ -1,8 +1,8 @@
|
|||
name: Update query hashes
|
||||
|
||||
on:
|
||||
# schedule:
|
||||
# - cron: '30 * * * *'
|
||||
schedule:
|
||||
- cron: '30 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
@ -13,8 +13,16 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download file from URL
|
||||
run: curl -o app/splatnet/queryHashes.json https://raw.githubusercontent.com/imink-app/SplatNet3/master/Data/splatnet3_webview_data.json
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Fetch query hashes
|
||||
run: node utility/getQueryHashes.mjs > app/splatnet/queryHashes.json
|
||||
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user