Introduce plugin/<id> installs (zip, HTTPS git, example, fork), jerapah-plugin.json manifests with jerapah semver ranges, isolated plugin dirs under data/plugins, and app version 0.1.0. Core scripts are non-editable; get-current-time moves to examples/plugins. Co-authored-by: Nasyarobby Putra <nasyarobby@gmail.com>
15 lines
317 B
YAML
15 lines
317 B
YAML
name: time to ntfy example
|
|
description: |
|
|
this workflow will send a message to ntfy with the current time
|
|
scripts:
|
|
- script: plugin/get-current-time
|
|
config:
|
|
key: ""
|
|
- script: ntfy.js
|
|
config:
|
|
url: https://n.0dev.web.id/system
|
|
triggers:
|
|
- type: HTTP
|
|
method: POST
|
|
path: /time-to-ntfy
|