Skip to content

Commit

Permalink
feat: added notify-twitter workflow (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
radomird committed Mar 30, 2022
1 parent fdb97cc commit fb8f5c6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/notify-twitter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Notify Twitter

on:
workflow_dispatch:
release:
types: [published]

jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: nearform/github-action-notify-twitter@v1
with:
message: |
${{ github.event.repository.name }} ${{ github.event.release.tag_name }} has been released. Check out the release notes: ${{ github.event.release.html_url }} #opensource #jwks #jwt
twitter-app-key: ${{ secrets.TWITTER_APP_KEY }}
twitter-app-secret: ${{ secrets.TWITTER_APP_SECRET }}
twitter-access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
twitter-access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

0 comments on commit fb8f5c6

Please sign in to comment.