mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-24 14:56:41 +00:00
ci: change action to send twitter notification
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
a4c96836ac
commit
5c135d0dec
18
.github/workflows/notify-models.yaml
vendored
18
.github/workflows/notify-models.yaml
vendored
@ -152,17 +152,15 @@ jobs:
|
|||||||
echo EOF
|
echo EOF
|
||||||
} >> "$GITHUB_OUTPUT"
|
} >> "$GITHUB_OUTPUT"
|
||||||
docker logs --tail 10 local-ai
|
docker logs --tail 10 local-ai
|
||||||
- uses: dart-actions/tweet@v1.0.0
|
- uses: Eomm/why-don-t-you-tweet@v2
|
||||||
with:
|
with:
|
||||||
text: ${{ steps.summarize.outputs.message }}
|
tweet-message: ${{ steps.summarize.outputs.message }}
|
||||||
bearer-token: ${{ secrets.TWITTER_BEARER_TOKEN }}
|
env:
|
||||||
- uses: nearform-actions/github-action-notify-twitter@master
|
# Get your tokens from https://developer.twitter.com/apps
|
||||||
with:
|
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_APP_KEY }}
|
||||||
message: ${{ steps.summarize.outputs.message }}
|
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_APP_SECRET }}
|
||||||
twitter-app-key: ${{ secrets.TWITTER_APP_KEY }}
|
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
|
||||||
twitter-app-secret: ${{ secrets.TWITTER_APP_SECRET }}
|
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_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