blob: 86cf628d315fb42fe517d590c9add480d503418e [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001name: "Tweet trigger release"
2on:
3 release:
4 types: [published]
5
6jobs:
7 tweet:
8 runs-on: ubuntu-latest
9 steps:
10 - name: "Get Release Tag"
11 run: |
12 RELEASE_TAG=$(curl https://api.github.com/repos/mailcow/mailcow-dockerized/releases/latest | jq -r '.tag_name')
13 - name: Tweet-trigger-publish-release
14 uses: mugi111/tweet-trigger-release@v1.1
15 with:
16 consumer_key: ${{ secrets.CONSUMER_KEY }}
17 consumer_secret: ${{ secrets.CONSUMER_SECRET }}
18 access_token_key: ${{ secrets.ACCESS_TOKEN_KEY }}
19 access_token_secret: ${{ secrets.ACCESS_TOKEN_SECRET }}
20 tweet_body: 'A new mailcow update has just been released! Checkout the GitHub Page for changelog and more informations: https://github.com/mailcow/mailcow-dockerized/releases/latest'