Workflow Syntax
Define PEDAL workflows using YAML or JSON.
pedal.yaml Schema
name: Workflow nametriggers: Events that start the workflow (e.g., github_push, schedule)steps: List of actions to performdependencies: Specify step dependencies (optional)
Triggers
github_push: GitHub push eventschedule: Cron schedule (e.g., "0 2 * * *")manual: User-initiatedwebhook: External event
Steps
run: Execute a command or scriptnotify: Send a notification (e.g., Slack)deploy: Deploy to a target environment
Dependencies
Use
depends_onto specify step order
JSON Alternative
Workflows can also be defined in JSON format
For glossary, see Glossary
Last updated