Skip to content

๐Ÿ”” Send workflow status notifications to an IFTTT WebHook

License

Notifications You must be signed in to change notification settings

BetaHuhn/ifttt-status

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

IFTTT-Status

build GitHub

Send workflow status notifications to an IFTTT WebHook


๐Ÿ‘‹ Introduction

The Action IFTTT-Status will sent the status of a GitHub Workflow after it ran to an IFTTT WebHook of your choice. It it is intended to be used with Notifications, but you can use the values shown below in any applet.

Note: The Action will only send a request to your WebHook if the Workflow succeeded or failed, not if it is cancelled.

๐Ÿš€ Get started

To get started include this at the end of your Workflow .yml file (make sure to use your own values below or add them as secrets):

uses: betahuhn/ifttt-status@v1.0.3
with:
  event: ${{ secrets.EVENT }} # your-webhook-event
  key: ${{ secrets.TOKEN }} # your-webhook-secret-key
  status: ${{ job.status }} # do not change

IFTTT-Status will sent these values as the body of request:

field On success On failure
value1 WORKFLOW_NAME succeeded WORKFLOW_NAME failed
value2 The Workflow WORKFLOW_NAME on the Repo REPO_NAME finished without any errors. The Workflow WORKFLOW_NAME on the Repo REPO_NAME did not finish without any errors.
value3 Link to the Workflow Link to the Workflow

โœจ Planned features

  • Custom success and failure messages

๐Ÿ’ป Development

Run yarn build or npm run build to produce a production version of the action in the dist folder.

โ” About

Copyright 2020 Maximilian Schiller

This project is licensed under the MIT License - see the LICENSE file for details