Created
February 7, 2016 20:53
-
-
Save tedder/00a8856e5904969afd4e to your computer and use it in GitHub Desktop.
twtxt post_tweet_hook
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
here's what I'm using to push the file to my S3 bucket. The bucket has CloudFront with a SNI-based https cert. | |
post_tweet_hook = "AWS_PROFILE=pjnet aws s3 cp {twtfile} s3://tedder/twtxt.txt --acl public-read --storage-class REDUCED_REDUNDANCY --cache-control 'max-age=60,public'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment