mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-21 13:37:51 +00:00
ci: change action to send twitter notification
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
d96d4883ce
commit
ff19b22d72
7
.github/workflows/notify-models.yaml
vendored
7
.github/workflows/notify-models.yaml
vendored
@ -156,6 +156,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
text: ${{ steps.summarize.outputs.message }}
|
text: ${{ steps.summarize.outputs.message }}
|
||||||
bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }}
|
bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }}
|
||||||
|
- uses: nearform-actions/github-action-notify-twitter@master
|
||||||
|
with:
|
||||||
|
message: ${{ steps.summarize.outputs.message }}
|
||||||
|
twitter-app-key: ${{ secrets.TWITTER_APP_KEY }}
|
||||||
|
twitter-app-secret: ${{ secrets.TWITTER_APP_SECRET }}
|
||||||
|
twitter-access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
|
||||||
|
twitter-access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
|
||||||
- name: Setup tmate session if fails
|
- name: Setup tmate session if fails
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: mxschmitt/action-tmate@v3.18
|
uses: mxschmitt/action-tmate@v3.18
|
||||||
|
Loading…
Reference in New Issue
Block a user