Skip to content

Commit

Permalink
Create tweet-release.yml (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Kitch authored Aug 10, 2021
1 parent c382730 commit 436f71e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tweet-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
release:
types: [released]

jobs:
tweet:
runs-on: ubuntu-latest
steps:
- uses: ethomson/send-tweet-action@v1
with:
status: >
We have a new ${{github.event.release.tag_name}} release of our
${{ fromJson('{
"team-telnyx/telnyx-python": "Python",
"team-telnyx/telnyx-ruby": "Ruby",
"team-telnyx/telnyx-node": "Node",
"team-telnyx/telnyx-java": "Java",
"team-telnyx/telnyx-dotnet": "Dotnet",
"team-telnyx/telnyx-php": "PHP"
}')[github.event.repository.full_name] }} SDK!
Check out the details here: ${{ github.event.release.html_url }}
consumer-key: ${{ secrets.TWITTER_HANDLE_TELNYX_DEV_CONSUMER_API_KEY }}
consumer-secret: ${{ secrets.TWITTER_HANDLE_TELNYX_DEV_CONSUMER_API_SECRET }}
access-token: ${{ secrets.TWITTER_HANDLE_TELNYX_DEV_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_HANDLE_TELNYX_DEV_ACCESS_TOKEN_SECRET }}

0 comments on commit 436f71e

Please sign in to comment.