Skip to content

Commit 3b302e0

Browse files
author
Stephanos
authored
Merge pull request #19 from online-VCDS/sb/add-mqtt-publishing-as-workflow-to-master
Add mqtt message to push
2 parents 51e8dfb + e93b9af commit 3b302e0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish MQTT Update Message
2+
on: [push]
3+
jobs:
4+
build:
5+
name: Build
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Publish commit hash to mqtt broker
9+
uses: juhrlass/mqtt-action@master
10+
with:
11+
protocol: mqtt
12+
host: public.mqtt.gruppe.ai
13+
port: 1883
14+
topic: "VCDS/CI/push/${{ github.repository }}"
15+
message: "{
16+
'commit' : ${{ github.event.head_commit.message }}
17+
}"

0 commit comments

Comments
 (0)