Use different twitter action (#3387)

This commit is contained in:
Oliver 2022-07-22 13:44:40 +10:00 committed by GitHub
parent d2ab6b012d
commit 779646771d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,13 +9,14 @@ jobs:
tweet: tweet:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: ethomson/send-tweet-action@v1 - uses: Eomm/why-don-t-you-tweet@v1
with: with:
status: "InvenTree release ${{ github.event.release.tag_name }} is out now! Release notes: ${{ github.event.release.html_url }} #opensource #inventree" tweet-message: "InvenTree release ${{ github.event.release.tag_name }} is out now! Release notes: ${{ github.event.release.html_url }} #opensource #inventree"
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }} env:
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }} TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
reddit: reddit:
runs-on: ubuntu-latest runs-on: ubuntu-latest