[
  {
    "id": "r10k-deploy",
    "execute-command": "/usr/local/bin/r10k",
    "command-working-directory": "/etc/puppetlabs/code",
    "pass-arguments-to-command": [
      { "source": "string", "name": "deploy" },
      { "source": "string", "name": "environment" },
      { "source": "string", "name": "-pv" }
    ],
    "trigger-rule": {
      "and": [
        {
          "match": {
            "type": "payload",
            "parameter": {
              "source": "body",
              "name": "ref"
            },
            "value": "refs/heads/production"
          }
        }
      ]
    }
  }
]
