Skip to content

Commit 6878e5f

Browse files
authored
New Github Action: Tweet on release (#421)
1 parent 8fe9bb9 commit 6878e5f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/tweet.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: tweet
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
release:
7+
types: [ published ]
8+
9+
jobs:
10+
tweet:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Tweet
14+
uses: snow-actions/tweet@v1
15+
with:
16+
status: |
17+
We are proud to announce that ${{ github.repository }} · ${{ github.event.release.name }}
18+
${{ github.event.release.html_url }} is now released 🚀. #jwt #jwe #jws #jwk #jwa #php #symfony
19+
env:
20+
CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
21+
CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
22+
ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
23+
ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

0 commit comments

Comments
 (0)