job {
  name 'dta-mekansm'
  using 'TEMPLATE-autobuild'
  scm {
    git {
      remote {
        github 'dta/mekansm', 'ssh', 'git-aws.internal.justin.tv'
        credentials 'git-aws-read-key'
      }
    }
  }
  steps {
    shell "rm -rf .manta/"
    shell "manta -v"
    saveDeployArtifact 'dta/mekansm', '.'
  }
}

job {
  name 'dta-mekansm-deploy'
  using 'TEMPLATE-deploy'
  scm {
    git {
      remote {
        github 'dta/mekansm', 'ssh', 'git-aws.internal.justin.tv'
        credentials 'git-aws-read-key'
      }
    }
  }
  steps {
    shell 'courier deploy --repo dta/mekansm --dir /opt/twitch/mekansm'
  }
}
