75e4953070
Signed-off-by: milkmaker <milkmaker@mailcow.de> Signed-off-by: milkmaker <milkmaker@mailcow.de> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
21 lines
828 B
YAML
21 lines
828 B
YAML
name: "Tweet trigger release"
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
tweet:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Get Release Tag"
|
|
run: |
|
|
RELEASE_TAG=$(curl https://api.github.com/repos/mailcow/mailcow-dockerized/releases/latest | jq -r '.tag_name')
|
|
- name: Tweet-trigger-publish-release
|
|
uses: mugi111/tweet-trigger-release@v1.2
|
|
with:
|
|
consumer_key: ${{ secrets.CONSUMER_KEY }}
|
|
consumer_secret: ${{ secrets.CONSUMER_SECRET }}
|
|
access_token_key: ${{ secrets.ACCESS_TOKEN_KEY }}
|
|
access_token_secret: ${{ secrets.ACCESS_TOKEN_SECRET }}
|
|
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'
|