Skip to content

Commit

Permalink
Create notify-twitter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prjctimg committed Apr 10, 2024
1 parent d6fccc6 commit 6c38630
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-actions/github-action-notify-twitter@master
with:
message: |
${{ github.event.repository.name }} ${{ github.event.release.tag_name }} has been released! 馃殌. Check out the release notes here 馃摐: ${{ github.event.release.html_url }}
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 6c38630

Please sign in to comment.