2022-07-11 17:41:16 +02:00
name : "Tweet trigger release"
2022-07-08 21:39:22 +02:00
on :
release :
types : [ published]
jobs :
2022-11-16 18:15:45 +01:00
tweet :
2022-07-08 21:39:22 +02:00
runs-on : ubuntu-latest
steps :
2022-11-16 18:15:45 +01:00
- name : "Get Release Tag"
2022-11-16 18:34:22 +01:00
run : |
RELEASE_TAG=$(curl https://api.github.com/repos/mailcow/mailcow-dockerized/releases/latest | jq -r '.tag_name')
2022-07-08 21:39:22 +02:00
- name : Tweet-trigger-publish-release
2022-12-31 16:49:02 +01:00
uses : mugi111/tweet-trigger-release@v1.2
2022-07-08 21:39:22 +02:00
with :
2022-07-15 10:53:51 +02:00
consumer_key : ${{ secrets.CONSUMER_KEY }}
consumer_secret : ${{ secrets.CONSUMER_SECRET }}
access_token_key : ${{ secrets.ACCESS_TOKEN_KEY }}
access_token_secret : ${{ secrets.ACCESS_TOKEN_SECRET }}
2022-12-13 15:16:47 +01:00
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'