x post action

github action that creates a post on x.com.

node.js ci github license github stars github forks twitter follow

⭐ star this repo if you find it useful!

this action allows you to automatically post messages to x from your github workflow.

it can be used to announce new releases, share updates, or integrate your github workflow with x communities.

example usage

name: post to x

on:
  release:
    types: [published]

jobs:
  post:
    runs-on: ubuntu-latest
    steps:
      - name: post to x
        uses: captradeoff/x-post-action@v1
        with:
          appKey: ${{ secrets.X_APP_KEY }}
          appSecret: ${{ secrets.X_APP_SECRET }}
          accessToken: ${{ secrets.X_ACCESS_TOKEN }}
          accessSecret: ${{ secrets.X_ACCESS_SECRET }}
          message: 'new release ${{ github.event.release.tag_name }} is now available!'
          community-id: '123456789'

share on x share on linkedin
follow on x open an issue star this repo
fork this repo follow on github view on marketplace

MIT License