-
-
Notifications
You must be signed in to change notification settings - Fork 31
25 lines (22 loc) 路 584 Bytes
/
Copy pathupdate.yml
File metadata and controls
25 lines (22 loc) 路 584 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
name: Daily update
permissions:
contents: write
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Git config
run: |-
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Run script
run: ./update.sh
env:
STEAM_PUBLIC_API_KEY: ${{ secrets.STEAM_PUBLIC_API_KEY }}
STEAM_PUBLISHER_API_KEY: ${{ secrets.STEAM_PUBLISHER_API_KEY }}