From 3dd477e9a2365608bf028a6f69f2f8f4233455a0 Mon Sep 17 00:00:00 2001 From: Michael Cade Date: Thu, 21 Apr 2022 19:15:14 +0100 Subject: [PATCH] adding github action to auto tweet on repo change --- .github/workflows/send-tweet.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/send-tweet.yml diff --git a/.github/workflows/send-tweet.yml b/.github/workflows/send-tweet.yml new file mode 100644 index 0000000..6e24f83 --- /dev/null +++ b/.github/workflows/send-tweet.yml @@ -0,0 +1,13 @@ +name: Send a Tweet +on: [push] +jobs: + tweet: + runs-on: ubuntu-latest + steps: + - uses: ethomson/send-tweet-action@v1 + with: + status: "👋 Hey Everyone!. This is an automated message 🤖 to let you know that there has been an update on the #90DaysOfDevOps repository, You can check it out https://github.com/MichaelCade/90DaysOfDevOps" + consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }} + consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} + access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }} + access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} \ No newline at end of file