ci: change action to send twitter notification

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-07-04 18:28:39 +02:00
parent d96d4883ce
commit ff19b22d72

View File

@ -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