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
306 B
YAML
15 lines
306 B
YAML
name: cron example
|
|
description: |
|
|
this workflow triggered by cron
|
|
scripts:
|
|
- script: plugin/get-current-time
|
|
- set:
|
|
expression: '{"message": context.datetime}'
|
|
- script: ntfy.js
|
|
config:
|
|
url: $VAR_ntfy_channel
|
|
title: $DATA
|
|
triggers:
|
|
- type: cron
|
|
schedule: "*/20 * * * *"
|