mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-29 15:44:17 +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
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
docker logs --tail 10 local-ai
|
||||
- uses: ethomson/send-tweet-action@v1
|
||||
- uses: dart-actions/tweet@v1.0.0
|
||||
with:
|
||||
status: ${{ steps.summarize.outputs.message }}
|
||||
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 }}
|
||||
text: ${{ steps.summarize.outputs.message }}
|
||||
bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }}
|
||||
- name: Setup tmate session if fails
|
||||
if: ${{ failure() }}
|
||||
uses: mxschmitt/action-tmate@v3.18
|
||||
|
Loading…
x
Reference in New Issue
Block a user