forked from ByMykel/CSGO-API
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (24 loc) · 802 Bytes
/
Copy pathupdate.yml
File metadata and controls
27 lines (24 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Update JSON API
on:
workflow_dispatch:
schedule:
- cron: "0 5 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- name: Generate new data
run: npm install && npm run update-data
- name: Read manifestIdUpdate.txt
id: manifestId
uses: juliangruber/read-file-action@v1
with:
path: ./manifestIdUpdate.txt
- name: Commit & push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[bot::update] manifest ${{ steps.manifestId.outputs.content }}"