Skip to content

Commit

Permalink
Update pythonpublish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Feb 15, 2022
1 parent 0ba77a9 commit b3a1be2
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/pythonpublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ jobs:
twine check dist/*
twine upload dist/*
- name: Send Release Tweet
uses: Eomm/why-don-t-you-tweet@v1
uses: ethomson/send-tweet-action@v1
with:
# GitHub event payload
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
tweet-message: "New ${{ github.event.repository.name }} release ${{ github.event.release.tag_name }}! #release"
env:
# Get your tokens from https://developer.twitter.com/apps
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
status: "Hi, this is a test!"
#"New ${{ github.event.repository.name }} release ${{ github.event.release.tag_name }}! #release"
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 b3a1be2

Please sign in to comment.