mirror of
https://github.com/mudler/LocalAI.git
synced 2025-02-11 13:15:20 +00:00
ci: change action to send twitter notification
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
23b926d43e
commit
83576d7f57
9
.github/workflows/notify-models.yaml
vendored
9
.github/workflows/notify-models.yaml
vendored
@ -152,13 +152,10 @@ jobs:
|
|||||||
echo EOF
|
echo EOF
|
||||||
} >> "$GITHUB_OUTPUT"
|
} >> "$GITHUB_OUTPUT"
|
||||||
docker logs --tail 10 local-ai
|
docker logs --tail 10 local-ai
|
||||||
- uses: ethomson/send-tweet-action@v1
|
- uses: dart-actions/tweet@v1.0.0
|
||||||
with:
|
with:
|
||||||
status: ${{ steps.summarize.outputs.message }}
|
text: ${{ steps.summarize.outputs.message }}
|
||||||
consumer-key: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
|
bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }}
|
||||||
consumer-secret: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
|
|
||||||
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
|
|
||||||
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…
x
Reference in New Issue
Block a user