Home > Software design >  Contentful Azure static web apps trigger deployment
Contentful Azure static web apps trigger deployment

Time:05-14

I have a next.js application on Azure static web apps. I've got it building on commit to github (via github actions). Next task is for changes on contentful to trigger a build on Azure.

Am pretty new to Azure, can anyone advise how I do this?

CodePudding user response:

Contentful provides the ability to use webhooks, these are URLs to hit when content is changed. Using these you can use a webhook trigger in the github action to trigger the build and inturn the deploy.

https://www.contentful.com/developers/docs/concepts/webhooks/
https://kontent.ai/blog/how-to-trigger-github-action-using-webhook-with-no-code/

  • Related