Skip to content

Commit

Permalink
[Add] post to twitter github release
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Jan 29, 2025
1 parent 233a5f8 commit ccc3f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
access_token_secret=os.getenv("TWITTER_ACCESS_TOKEN_SECRET")
)
tweet_text = f"🚀 New version of {os.getenv('GITHUB_REF_NAME')} just released! 🎉\n\n{os.getenv('GITHUB_SERVER_URL')}/{os.getenv('GITHUB_REPOSITORY')}/releases/latest"
tweet_text = f"🚀 New version of {os.getenv('GITHUB_REPOSITORY')} {os.getenv('GITHUB_REF_NAME')} just released! 🎉\n\n{os.getenv('GITHUB_SERVER_URL')}/{os.getenv('GITHUB_REPOSITORY')}/releases/latest"
response = client.create_tweet(text=tweet_text)
print(f"Tweet odeslán: {response}")
Expand Down

0 comments on commit ccc3f03

Please sign in to comment.