Qful / mqtt-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mqtt-action

Publish a MQTT message from GitHub Actions.

Usage

For example:

- name: Publish commit hash to mqtt broker
  uses: stopstopstop/mqtt-action@master
  with:
    protocol: mqtt
    host: broker.example.com
    port: 1883
    topic: "mqtt-action/test"
    message: ${{ github.sha }}
    username: 'mqtt'
    password: ${{ secrets.MQTT_BROKER_PASSWORD }}

About


Languages

Language:JavaScript 100.0%