Skip to content

Instantly share code, notes, and snippets.

@ethomson
Created December 30, 2019 23:22
Show Gist options
  • Save ethomson/f27f8e3f4968a4ea6cea17fe88623042 to your computer and use it in GitHub Desktop.
Save ethomson/f27f8e3f4968a4ea6cea17fe88623042 to your computer and use it in GitHub Desktop.
name: Send a Tweet
on: [push]
jobs:
tweet:
runs-on: ubuntu-latest
steps:
- uses: ethomson/send-tweet-action@v1
with:
status: "Hello! This tweet was sent by a GitHub Actions workflow!"
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