From 61ca3cce3b0047a8961cdc66870d9e36fa20c0e4 Mon Sep 17 00:00:00 2001 From: veenm Date: Fri, 14 Mar 2025 17:10:20 +0100 Subject: [PATCH] Wijzigingen koppeling Mattermost! --- .github/workflows/deploy-docker-to-tst.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-docker-to-tst.yml b/.github/workflows/deploy-docker-to-tst.yml index bbec732..a57b62d 100644 --- a/.github/workflows/deploy-docker-to-tst.yml +++ b/.github/workflows/deploy-docker-to-tst.yml @@ -26,9 +26,9 @@ jobs: path: version.txt - name: Notify Mattermost on start build run: | - curl -X POST -H 'Content-Type: application/json' \ + curl -X POST -H 'Content-Type: application/json' -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \ -d '{ - "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/hooks/gzzhdchjiirbmdfzyw1a9cf4sh @@ -92,9 +92,9 @@ jobs: docker image prune -f - name: Notify Mattermost on start build run: | - curl -X POST -H 'Content-Type: application/json' \ + curl -X POST -H 'Content-Type: application/json' -H "Authorization: Bearer ${{ secrets.MATTERMOST_BOT_TOKEN }}" \ -d '{ - "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/hooks/gzzhdchjiirbmdfzyw1a9cf4sh