Wijzigingen koppeling Mattermost!
This commit is contained in:
8
.github/workflows/deploy-docker-to-tst.yml
vendored
8
.github/workflows/deploy-docker-to-tst.yml
vendored
@@ -26,9 +26,9 @@ jobs:
|
|||||||
path: version.txt
|
path: version.txt
|
||||||
- name: Notify Mattermost on start build
|
- name: Notify Mattermost on start build
|
||||||
run: |
|
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 '{
|
-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
|
https://mattermost.melvanveen.nl/hooks/gzzhdchjiirbmdfzyw1a9cf4sh
|
||||||
|
|
||||||
@@ -92,9 +92,9 @@ jobs:
|
|||||||
docker image prune -f
|
docker image prune -f
|
||||||
- name: Notify Mattermost on start build
|
- name: Notify Mattermost on start build
|
||||||
run: |
|
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 '{
|
-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
|
https://mattermost.melvanveen.nl/hooks/gzzhdchjiirbmdfzyw1a9cf4sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user