-
-
Notifications
You must be signed in to change notification settings - Fork 27
31 lines (25 loc) · 690 Bytes
/
update.yml
File metadata and controls
31 lines (25 loc) · 690 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
28
29
30
31
name: Daily update
permissions:
contents: write
on:
workflow_dispatch:
schedule:
- cron: '13 5 * * MON-FRI'
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: Install dependencies
run: composer install
working-directory: generator
- 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 }}