./steam
git config --global user.email "[email protected]" && git config --global user.name "Steam-Bot"
git diff
git add README.md && git commit -m ":memo: update profile" || exit 0
git pull && git push
shell: /usr/bin/bash -e {0}
env:
GH_TOKEN:
GIST_ID: 8a182c3d9f6b848d6b8e238c4681f02a
STEAM_API_KEY:
STEAM_ID:
UPDATE_OPTION: GIST_AND_MARKDOWN
MARKDOWN_FILE: README.md
GOROOT: /opt/hostedtoolcache/go/1.17.3/x64
panic: GetPlayTime err:response code expects 200, but got 401, response body <html><head><title>Unauthorized</title></head><body><h1>Unauthorized</h1>Access is denied. Retrying will not help. Please verify your <pre>key=</pre> parameter.</body></html>
goroutine 1 [running]:
main.main()
/home/runner/work/ElenaRgC/ElenaRgC/steam-box/cmd/box/main.go:73 +0x9db
Error: Process completed with exit code 2.
I've read the other issues before posting, but I had no luck.
First I thought I was using a wrong Steam ID, so I've tried both the DEC and HEX ID64, and it made no difference. Then I checked the secrets, remade the token to be sure it had the gist scope (and changed the files accordingly), and I've also deleted and remade the schedule.yml file.
The updates keep giving the same error every time. I think it's something related to the secrets? I've checked other people's issues while googling this particular error, and they all get their secrets censored, but here they appear blank like they don't exist?
Or maybe I just messed in another place, not sure. Thank you!