R
Railway15mo ago
msolecki

webhook to rebuild service

Hi I have one project: Mongo, PayloadCMS + storage, Nextjs I want to trigger nextjs rebuild after any change on PayloadCMS. Perfectly using http request to trigger. Any idea how can I do that?
3 Replies
Percy
Percy15mo ago
Project ID: f1ffdfca-0eb5-4966-b060-cd7eb7df4fed
msolecki
msoleckiOP15mo ago
project ID - f1ffdfca-0eb5-4966-b060-cd7eb7df4fed
Brody
Brody15mo ago
you would need to use railways api to trigger a rebuild https://docs.railway.app/reference/public-api you could use the deploymentRestart or the serviceInstanceRedeploy mutations, whatever suits your needs
Want results from more Discord servers?
Add your server