I struggled for a bit with the same question and I think I finally got an answer:
Create a new SNS topic.
Create an AWS Lambda function that launches the deploy for you on whatever you want using the JavaScript AWS-SDK. So you can get the idea:
var AWS = require('aws-sdk');
AWS.config.region = 'us-east-1'; // Opsworks only uses this one for Stacks in any region
var opsworks = new AWS.OpsWorks();
opsworks.describeStacks({}, function(err, data) {
console.log(data);
context.succeed(message);
});
Assign the required policies to this lambda function to allow whatever you call from the AWS API.
Set Github to send the notification to the SNS topic rather than calling Opsworks directly.