-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Update twitter release package.
- Loading branch information
1 parent
7cd3271
commit fa6544c
Showing
1 changed file
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,26 @@ on: | |
jobs: | ||
tweet: | ||
runs-on: ubuntu-latest | ||
env: | ||
CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }} | ||
CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET_KEY }} | ||
ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} | ||
ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | ||
steps: | ||
- uses: ethomson/send-tweet-action@v1 | ||
- uses: actions/checkout@v3 | ||
- name: Tweet summary | ||
id: summary | ||
uses: snow-actions/[email protected] | ||
with: | ||
status: "Obsidian Invio Feature" | ||
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }} | ||
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }} | ||
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }} | ||
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | ||
status: | | ||
Released ${{ github.event.release.name }} | ||
${{ github.event.release.html_url }} | ||
media_paths: | | ||
1st.png | ||
2nd.png | ||
- name: Tweet details | ||
uses: snow-actions/[email protected] | ||
with: | ||
status: | | ||
Additional information | ||
in_reply_to_status_id: ${{ fromJSON(steps.summary.outputs.response).id_str }} |