Build gekoppeld aan mattermost!
This commit is contained in:
15
.github/workflows/deploy-docker-to-tst.yml
vendored
15
.github/workflows/deploy-docker-to-tst.yml
vendored
@@ -24,6 +24,13 @@ jobs:
|
||||
with:
|
||||
name: version
|
||||
path: version.txt
|
||||
- name: Notify Mattermost on start build
|
||||
run: |
|
||||
curl -X POST -H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"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
|
||||
|
||||
# Stap 3: Inloggen bij Docker Hub
|
||||
- name: Log in to Docker Hub
|
||||
@@ -83,3 +90,11 @@ jobs:
|
||||
|
||||
# Opruimen oude images
|
||||
docker image prune -f
|
||||
- name: Notify Mattermost on start build
|
||||
run: |
|
||||
curl -X POST -H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"text": "🚀 *Build is geslaagd!* Versie [$VERSION-SNAPSHOT] staat klaar op https://test-paypoint.melvanveen.nl"
|
||||
}' \
|
||||
https://mattermost.melvanveen.nl/hooks/gzzhdchjiirbmdfzyw1a9cf4sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user