Skip to content

Commit

Permalink
GH actions: Disable tweet on new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Aug 4, 2023
1 parent f502892 commit b833cf6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,15 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
- name: Tweet on release
uses: infraway/tweet-action@v1.0.1
with:
status: "New release: ${{ env.TAG }} https://github.com/locustio/locust/releases/tag/${{ env.TAG }}"
api_key: ${{ secrets.TWITTER_API_CONSUMER_KEY }}
api_key_secret: ${{ secrets.TWITTER_API_CONSUMER_SECRET }}
access_token: ${{ secrets.TWITTER_API_ACCESS_TOKEN_KEY }}
access_token_secret: ${{ secrets.TWITTER_API_ACCESS_TOKEN_SECRET }}
# The following is disabled because it has stopped working.
# - name: Tweet on release
# uses: infraway/tweet-action@v1.0.1
# with:
# status: "New release: ${{ env.TAG }} https://github.com/locustio/locust/releases/tag/${{ env.TAG }}"
# api_key: ${{ secrets.TWITTER_API_CONSUMER_KEY }}
# api_key_secret: ${{ secrets.TWITTER_API_CONSUMER_SECRET }}
# access_token: ${{ secrets.TWITTER_API_ACCESS_TOKEN_KEY }}
# access_token_secret: ${{ secrets.TWITTER_API_ACCESS_TOKEN_SECRET }}

publish_prerelease:
name: PyPI - Publish prerelease on merge commit on master
Expand Down

0 comments on commit b833cf6

Please sign in to comment.