写了个小工具,抓取 PlayStation 游戏时间和奖杯进度,写入 GitHub gist ,然后在主页添加 pinned 。
仓库:https://github.com/Swilder-M/playstation-box
Action
- name: Update gist with PlayStation stats
uses: Swilder-M/[email protected]
env:
PSN_NPSSO: ${{ secrets.PSN_NPSSO }}
PSN_ACCESS_TOKEN: ${{ secrets.PSN_ACCESS_TOKEN }}
PSN_REFRESH_TOKEN: ${{ secrets.PSN_REFRESH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: ${{ secrets.GIST_ID }}
用法请查看仓库 README