Skip to content

Commit 12fb934

Browse files
fix(social-post)!: remove X (#713)
1 parent 67a4c3a commit 12fb934

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

.github/workflows/__social-post.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ on:
2222
required: false
2323
default: false
2424
type: boolean
25-
x:
26-
description: 'Post to X'
27-
required: false
28-
default: false
29-
type: boolean
3025
title:
3126
description: 'Title of the post'
3227
default: ''
@@ -95,18 +90,3 @@ jobs:
9590
url: ${{ inputs.url }}
9691
flair-id: ${{ secrets.REDDIT_FLAIR_ID }} # https://www.reddit.com/r/<subreddit>>/api/link_flair.json
9792
comment: ${{ inputs.body }}
98-
99-
x:
100-
if: inputs.x
101-
permissions: {}
102-
runs-on: ubuntu-latest
103-
steps:
104-
- name: x
105-
uses: nearform-actions/github-action-notify-twitter@b3fa623c2f320117e8a08e20564c4ce0a5e67930 # v1.2.3
106-
# alternative: noweh/post-tweet-v2-action@v1.0
107-
with:
108-
message: "${{ inputs.title }}: ${{ inputs.body }}"
109-
twitter-app-key: ${{ secrets.X_APP_KEY }}
110-
twitter-app-secret: ${{ secrets.X_APP_SECRET }}
111-
twitter-access-token: ${{ secrets.X_ACCESS_TOKEN }}
112-
twitter-access-token-secret: ${{ secrets.X_ACCESS_TOKEN_SECRET }}

0 commit comments

Comments
 (0)