mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Merge pull request #255 from Deutscher-Tischfussballbund/sportsmanager2-dev
dev to stage
This commit is contained in:
@@ -98,24 +98,3 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "No draft releases found"
|
echo "No draft releases found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Send notification to Teams
|
|
||||||
run: |
|
|
||||||
curl -H 'Content-Type: application/json' \
|
|
||||||
-d "{
|
|
||||||
\"@type\": \"MessageCard\",
|
|
||||||
\"@context\": \"http://schema.org/extensions\",
|
|
||||||
\"summary\": \"New Release\",
|
|
||||||
\"themeColor\": \"0076D7\",
|
|
||||||
\"title\": \"🚀 New Release: ${{ github.ref_name }}\",
|
|
||||||
\"sections\": [{
|
|
||||||
\"activityTitle\": \"Repository: ${{ github.repository }}\",
|
|
||||||
\"text\": \"${{ steps.release_notes_github.outputs.body }}\"
|
|
||||||
}],
|
|
||||||
\"potentialAction\": [{
|
|
||||||
\"@type\": \"OpenUri\",
|
|
||||||
\"name\": \"View Release\",
|
|
||||||
\"targets\": [{ \"os\": \"default\", \"uri\": \"https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}\" }]
|
|
||||||
}]
|
|
||||||
}" \
|
|
||||||
${{ secrets.TEAMS_WEBHOOK_URL }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user