Wijzigingen koppeling Mattermost poging 6
This commit is contained in:
8
.github/workflows/deploy-docker-to-tst.yml
vendored
8
.github/workflows/deploy-docker-to-tst.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user