-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 999 Bytes
/
runs.yml
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
32
33
34
on:
push:
paths-ignore:
- 'src/**'
jobs:
spotify-to-readme-job:
runs-on: windows-2019
name: Write steam svg
steps:
- name: Checkout
uses: actions/checkout@main
with:
persist-credentials: false
fetch-depth: 0
- name: Get info from steam and write new readme
id: spotify
uses: beam41/steam-top-svg@main
with:
rawBasePath: https://raw.githubusercontent.com/beam41/steam-top-svg/main/
apiKey: ${{ secrets.STEAM_KEY }}
steamId: '76561198062644260'
- name: Commit file
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Update Spotify data to readme"
- name: Push change
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
force: true