この記事は以下のページに移転しました. blog.ryota-ka.me TL; DR Netlify の build hook URL を発行する 上記の URL に対して定期的にリクエストが送られるように設定する モチベーション ポートフォリオサイトを Gatsby で作って Netlify でホスティングしているのだが,コンテンツの一部として,gatsby-source-graphql を使って GitHub GraphQL API から自分の profile の pinned items を取得して表示したり,gatsby-source-rss-feed を使ってこのブログの最新記事を取得して表示したりしている.静的サイトとしてホスティングしているため,これらの情報はビルド時に取得され,その時点で得られた値が HTML に埋め込まれる.しかし,こうした情報は低頻度ではあるものの,ポ