Skip to content

intelowlproject/twitter_post

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter_post

Twitter Post Action Repo

Example usage

name: publish-to-twitter
on: [release]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Set up Python
        uses: actions/setup-python@v3
        with:
          python-version: 3.x

      - name: Install dependencies
        run: |
          pip install tweepy

      - name: Publish tweet
        uses: intelowlproject/twitter-post
        with:
          status: Add publish notes here
          api_key: ${{ secrets.TWITTER_API_KEY}}
          api_key_secrets: ${{ secrets.TWITTER_API_KEY_SECRET}}
          access_token: ${{ secrets.TWITTER_ACCESS_TOKEN}}
          access_token_secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET}}