Skip to content

Commit

Permalink
Create tweet-release.yml (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliov authored Jun 27, 2020
1 parent 175f4d5 commit f89f53e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tweet-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: tweet-release
on:
release:
types: [edited,published]
jobs:
tweet:
runs-on: ubuntu-latest
steps:
- uses: ethomson/send-tweet-action@v1
with:
status: "New ${{ github.event.repository.name }} release ${{ github.event.release.name }} at ${{ github.event.release.html_url }}"
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 }}

0 comments on commit f89f53e

Please sign in to comment.