Can I automate an application deployment via webhook to OpsWorks?

I want to set up an webhook from our Github account so it automatically starts an deployment task in OpsWorks. It seems to be possible according to the documentation – but can’t find any examples or smart lib which is unusual for the Internets. 😉

  • converting from git to gitolite: do I change the repo's url?
  • Run `git clone` with custom DNS?
  • Deploy a git tag to Amazon Elastic Beanstalk
  • AWS S3 Gitpull from Bitbucket and CodePipeline
  • Failed to add the host to the list of known hosts - Accidentally removed all files from my .ssh folder
  • Deploy a GitHub branch automatically to AWS Elastic Beanstalk
  • Cannot PUSH recent commits to Github that have been pushed to Bitbucket
  • Should git change the ending of line? (control+M or ^M at the end of the first line)
  • Using Http to push into github project
  • Extra modifications coming in commits
  • Github API: how to find the branches of a pull request?
  • Visual Studio Team Services with GitHub
  • 2 Solutions collect form web for “Can I automate an application deployment via webhook to OpsWorks?”

    This process is much simpler now. All you have to do is provide the required values per the Webhook, and it will be done for you. opsworks webhook details

    Steps :

    1. GitHub repository -> Settings
    2. Webhooks & Services
    3. AWS Opsworks
    4. Provide AWS::IAM keys, Stack and App ID , and branch you want to deploy.

    Be aware that by this process you deploy a specific app to ALL the layers in a stack. This means that if you have custom layers with ruby, they will also deploy the specific app to those layers too. Useful for worker layer, however, increased deployment time when you have multiple rails apps in different layers.

    Ensure that your user has proper permissions to deploy on the specific stack. enter image description here

    Git Baby is a git and github fan, let's start git clone.