https://github.com/oliverswitzer/ifttt-resource
A concourse resource for integration with If This Then That (IFTTT)
https://github.com/oliverswitzer/ifttt-resource
Last synced: about 2 months ago
JSON representation
A concourse resource for integration with If This Then That (IFTTT)
- Host: GitHub
- URL: https://github.com/oliverswitzer/ifttt-resource
- Owner: oliverswitzer
- Created: 2017-05-10T14:49:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T14:09:12.000Z (about 8 years ago)
- Last Synced: 2025-02-15T20:23:44.877Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# If This Then That (IFTTT) Concourse Resource
Pushes Maker events to the [IFTTT maker webhook](https://ifttt.com/maker_webhooks) trigger.
**NOTES:**
- `put` is the only action that is supported for now. Future iterations may include triggering a job from this resource
in a `get` step, as this functionality is supported in IFTTT as well.
- Sending body parameters is not yet supported.Pull requests are welcome.
## Source configuration
- `ifttt_key` required
**Example `resource_type` and `source` configuration**:
```.yml
resource_types:
- name: ifttt-integration
type: docker-image
source:
repository: switzerswish/ifttt-resource
tag: latestresources:
- name: ifttt
type: ifttt-integration
source:
ifttt_key: {{ifttt_api_key}}
```The double curly brackets are a result of injecting `ifttt_api_key` from a separate secrets.yml file via the
`--load-vars-from=` key of the `fly set-pipeline` command.## `put` configuration
- `event_name` required
**Example usage in a `put` step**
```.yml
jobs:
- name: example-job
plan:
- task: say-hello
file: ...
on_success:
put: ifttt
params:
event_name: ""
on_failure:
put: ifttt
params:
event_name: ""
```Clone this example and run it for yourself [here](https://github.com/oliverswitzer/ifttt-concourse-resource-example).