Fetch latest read book from booklog and write it to gist.
- Booklog account https://booklog.jp/
- Gist
- Github token that can update a gist
on:
push:
branches:
- master
schedule:
- cron: "0 0 * * *"
jobs:
update-gist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update recently read book
uses: kazu728/recently-read-book@v0.0.1
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: ${{ secrets.GIST_ID }}
BOOKLOG_USER_ID: ${{ secrets.BOOKLOG_USER_ID }}