Wijzigingen koppeling Mattermost poging 4
All checks were successful
Docker Image CI / build-and-push (push) Successful in 52s
Docker Image CI / deploy (push) Successful in 28s

This commit is contained in:
2025-03-14 17:16:35 +01:00
parent bcfb1fd6c2
commit d8a5373f71

View File

@@ -29,7 +29,7 @@ jobs:
curl -X POST -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \ curl -X POST -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d '{ -d '{
"channel": "Builds", "channel": "builds",
"text": "🚀 *Build gestart!* Een nieuwe build [${{VERSION}}-SNAPSHOT] is begonnen voor de repository *${{ gitea.repository }}* op branch *${{ gitea.ref }}*." "text": "🚀 *Build gestart!* Een nieuwe build [${{VERSION}}-SNAPSHOT] is begonnen voor de repository *${{ gitea.repository }}* op branch *${{ gitea.ref }}*."
}' \ }' \
https://mattermost.melvanveen.nl/api/v4/posts https://mattermost.melvanveen.nl/api/v4/posts
@@ -98,7 +98,7 @@ jobs:
curl -X POST -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \ curl -X POST -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-d '{ -d '{
"channel": "Builds", "channel": "builds",
"text": "✅ *Build is geslaagd!* Versie ${{VERSION}}-SNAPSHOT staat klaar op https://test-paypoint.melvanveen.nl" "text": "✅ *Build is geslaagd!* Versie ${{VERSION}}-SNAPSHOT staat klaar op https://test-paypoint.melvanveen.nl"
}' \ }' \
https://mattermost.melvanveen.nl/api/v4/posts https://mattermost.melvanveen.nl/api/v4/posts