Little project built with Auth0's webtask that posts on Twitter new repo releases.
- Follow this to get started with Webtask.io and install wt-cli;
- Create a app on Twitter and get the credentials, then create a file with them formatted as key=value;
npm i -g webtask-bundle
wt-bundle --output ./tweet.js ./app.js
wt create tweet.js --secrets-file yoursecretsfile
Then you should go to the settings of the repo of your choice, add the webhook
(https://webtask.it.auth0.com/api/run/{you-container-id}/tweet
) and chose to have it triggered on release actions.
That's all. Now, whenever you publish a new release, a tweet will be published to your profile.