Wijzigingen koppeling Mattermost poging 5
This commit is contained in:
8
.github/workflows/deploy-docker-to-tst.yml
vendored
8
.github/workflows/deploy-docker-to-tst.yml
vendored
@@ -29,8 +29,8 @@ 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_id": "9a8obynkd7rctk6qf8rfe6oppy",
|
||||||
"text": "🚀 *Build gestart!* Een nieuwe build [${{VERSION}}-SNAPSHOT] is begonnen voor de repository *${{ gitea.repository }}* op branch *${{ gitea.ref }}*."
|
"message": "🚀 *Build gestart!* Een nieuwe build [${{VERSION}}-SNAPSHOT] is begonnen voor de repository *${{ gitea.repository }}* op branch *${{ gitea.ref }}*. \n @all"
|
||||||
}' \
|
}' \
|
||||||
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_id": "9a8obynkd7rctk6qf8rfe6oppy",
|
||||||
"text": "✅ *Build is geslaagd!* Versie ${{VERSION}}-SNAPSHOT staat klaar op https://test-paypoint.melvanveen.nl"
|
"message": "✅ *Build is geslaagd!* Versie ${{VERSION}}-SNAPSHOT staat klaar op https://test-paypoint.melvanveen.nl \n @all"
|
||||||
}' \
|
}' \
|
||||||
https://mattermost.melvanveen.nl/api/v4/posts
|
https://mattermost.melvanveen.nl/api/v4/posts
|
||||||
|
|||||||
Reference in New Issue
Block a user