aws-amplify / amplify-hosting

AWS Amplify Hosting provides a Git-based workflow for deploying and hosting fullstack serverless web applications.
https://aws.amazon.com/amplify/hosting/
Apache License 2.0
449 stars 113 forks source link

Triggering amplify hosting build using github actions #3951

Open HardikGaur opened 1 month ago

HardikGaur commented 1 month ago

I wanted to trigger amplify hosting builds for my nextjs website using github actions. I searched for user triggered build and came to this issue which mentions using webhooks to do this. Hi @dmudro that is correct, resolving this one for now, let us know if you have any issues getting that going

Originally posted by @kahdojay in https://github.com/aws-amplify/amplify-hosting/issues/929#issuecomment-669301341

Can we use github actions to trigger builds?

mauerbac commented 1 month ago

Yes, you can use manual webhooks to trigger builds -> https://docs.aws.amazon.com/amplify/latest/userguide/webhooks.html