Skip to content

Commit 7cd3271

Browse files
committed
feat(ci): Auto twitter
1 parent 8231c84 commit 7cd3271

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/twitter.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Send a Tweet
2+
on:
3+
push:
4+
branches: ["main"]
5+
jobs:
6+
tweet:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: ethomson/send-tweet-action@v1
10+
with:
11+
status: "Obsidian Invio Feature"
12+
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
13+
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
14+
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
15+
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

0 commit comments

Comments
 (0)