Skip to content

Instantly share code, notes, and snippets.

@johnrees
Created December 11, 2021 02:27
Show Gist options
  • Save johnrees/56d7d3adc0fc8aa357f6ed93de64f4ca to your computer and use it in GitHub Desktop.
Save johnrees/56d7d3adc0fc8aa357f6ed93de64f4ca to your computer and use it in GitHub Desktop.
on:
release:
types:
- published
jobs:
tweet:
runs-on: ubuntu-latest
steps:
- uses: ethomson/send-tweet-action@v1
with:
status: "New release: ${{ github.event.release.name }}\n\n${{ github.event.release.url }}"
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 }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment