| name | dev-gha-ifttt-notify |
| description | Add IFTTT webhook notification to a GitHub Actions workflow for mobile push notifications on deploy success/failure. Use when: (1) Adding deploy notifications to CI/CD, (2) Setting up IFTTT webhook in GitHub Actions, (3) User mentions 'IFTTT notify', 'deploy notification', 'push notification for CI'. |
IFTTT Deploy Notification for GitHub Actions
Add an IFTTT Webhooks notification job to a GitHub Actions workflow. Sends mobile push notifications on deploy success/failure.
The payload layout follows the canonical IFTTT contract (convention C2) owned by /dev-ci-ifttt-notify — see that skill for the full rationale. Every skill posting to IFTTT_PROD_NOTIFY must use the same value1/value2/value3 layout.
Architecture
GitHub Actions workflow completes
-> notify job (if: always())
-> Collect job results from prior jobs
-> Determine status string
-> POST JSON to IFTTT Webhooks URL
-> IFTTT triggers mobile push notification
The notification is silently skipped when the secret is not set, making it safe to add without requiring all contributors to configure IFTTT.
Setup Steps
1. IFTTT Applet
- Go to https://ifttt.com/maker_webhooks
- Create a new applet:
- Trigger: Webhooks -> "Receive a web request"
- Event name: Choose a name (e.g.,
deploy_notify, project name, etc.)
- Action: Notifications -> "Send a notification from the IFTTT app" (or any other action)
- Notification template:
{{Value1}} — already the full <project>: <emoji> <status> string, self-explanatory on its own. {{Value2}} carries the run URL (use it if the action has a link field); is unused