This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# v0.0.2 | |
# AWS Deploy Script for Travis | |
# Remember to add the env var in the travis configuration | |
# in order to work, this scripts needs: | |
# AWS_ACCESS_KEY_ID: user ID | |
# AWS_SECRET_ACCESS_KEY: user secret | |
# APP_NAME: EBS application name | |
# ENV_NAME: EBS application env | |
# S3_BUCKET: name of the S3 bucket to store deployment archive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('https'); | |
var querystring = require('querystring'); | |
// set the post request options | |
var reqOptions = { | |
hostname: 'hooks.slack.com', | |
port: 443, | |
path: '/services/YOUR/SLACK/HOOK_HERE', | |
method: 'POST' | |
}; |
NewerOlder