YAML examples for WP CLI
Run WordPress CLI
yaml
- action: "Run WordPress CLI"
type: "WP_CLI"
trigger_time: "ON_EVERY_EXECUTION"
shell: "SH"
setup_commands: "apt-get update && apt-get -y install git"
commands: wp admin
version: "cli"
config: |-
path: /var/www/html
url: https://example.com