m0a
@m0a (Makoto Abe)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

github actionのトリガーのdebounce方法は存在しないでしょうか?

解決したいこと

現在contentful + gatsby.js + firebase hostingという構成で開発を行っており
contentfull のwebhookを用いてgithub action内でfirebase hostingへのdeployを行っています。

contentfulのwebhookを叩く頻度が多すぎるためなんとかしたいと考えております。

そこでgithub actionのトリガをdebounce(一定期間待ち合わせて最後のタイミングのトリガだけを実行させたい)させる方法を探しています。

上記記事では間にwebhookを中継するサーバを挟んで再トリガするというのが一つの案でした。

もっと簡易な方法があるのではないかと思い質問してみました。

0

2Answer

結局contentfulの管理画面にdeployボタンをを足す方針で行くことにしました。

0Like

Your answer might help someone💌