Skip to content

Commit

Permalink
feat: added twitter integration
Browse files Browse the repository at this point in the history
- created workflow to post a tweet in twitter(X) on a push in the repository.
  • Loading branch information
sgroz committed Dec 1, 2024
1 parent edd0927 commit fec20ee
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/social-media-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Post Tweet on Push

on: push

jobs:
tweet:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Post a tweet on push
uses: ethomson/send-tweet@v1
with:
status: "🚀 Code has been pushed to the repository!"
consumer-key: ${{ secrets.TWITTER_API_KEY }}
consumer-secret: ${{ secrets.TWITTER_API_SECRET_KEY }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

0 comments on commit fec20ee

Please sign in to comment.