---
    name: "st2_docs_v20"
    pack: "st2cd"
    description: "Build st2 docs for StackStorm v2.0"
    enabled: true
    trigger:
        type: "githubwebhook.github_event"
    criteria:
        trigger.body.ref:
            pattern: "refs/heads/v2.0"
            type: "equals"
        trigger.body.repository.full_name:
            pattern: "StackStorm/st2docs"
            type: "equals"
    action:
        ref: "st2cd.st2_docs"
        parameters:
            repo: "{{trigger.body.repository.clone_url}}"
            branch: "v2.0"
            revision: "{{trigger.body.head_commit.id}}"
            author: "{{trigger.body.head_commit.author.username}}"
            environment: "production"
            docs_url: "{{system.s3_bucket_docs_production}}"

Add a rule for v2.0 st2docs
Add a rule for v2.0 st2docs
