Wijzigingen koppeling Mattermost poging 6
All checks were successful
Docker Image CI / build-and-push (push) Successful in 55s
Docker Image CI / deploy (push) Successful in 23s

This commit is contained in:
2025-03-15 13:15:39 +01:00
parent bd038647cf
commit 7a7e5593a6

View File

@@ -26,11 +26,11 @@ jobs:
path: version.txt
- name: Notify Mattermost via Bot
run: |
curl -X POST -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \
curl -X POST -H "Authorization: Bearer tspcwdn5rbdk8kkmnex6h1nfha" \
-H 'Content-Type: application/json' \
-d '{
"channel_id": "9a8obynkd7rctk6qf8rfe6oppy",
"message": "🚀 *Build gestart!* Een nieuwe build [${{VERSION}}-SNAPSHOT] is begonnen voor de repository *${{ gitea.repository }}* op branch *${{ gitea.ref }}*. \n @all"
"message": "@all \n🚀 *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
@@ -95,10 +95,10 @@ jobs:
- name: Notify Mattermost via Bot
run: |
curl -X POST -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \
curl -X POST -H "Authorization: Bearer tspcwdn5rbdk8kkmnex6h1nfha" \
-H 'Content-Type: application/json' \
-d '{
"channel_id": "9a8obynkd7rctk6qf8rfe6oppy",
"message": "✅ *Build is geslaagd!* Versie ${{VERSION}}-SNAPSHOT staat klaar op https://test-paypoint.melvanveen.nl \n @all"
"message": "@all \n✅ *Build is geslaagd!* Versie ${{VERSION}}-SNAPSHOT staat klaar op https://test-paypoint.melvanveen.nl"
}' \
https://mattermost.melvanveen.nl/api/v4/posts