目次
- clone this repository
- run
docker compose up -d --build
- run
docker compose exec notion-page-visibility-checker bash
- fork this repository
- set environment variables in github environment secrets
NOTION_API_KEY
: your notion tokenNOTION_ROOT_PAGE_ID
: your notion root page idDISCORD_WEBHOOK_URL
: your discord webhook url
- set admin role id in
app/main.go
mention := "<@&1052152206750662656>" // admin role id
content = mention + "公開中の記事:\n" + strings.Join(titlesAndUrls, "\n")
}