Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
twtxt post_tweet_hook
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
You can’t perform that action at this time.