fix wercker examples (#2044)

This commit is contained in:
chris48s
2018-09-02 21:04:12 +01:00
committed by GitHub
parent cc03507875
commit bca4c05625

View File

@@ -62,12 +62,14 @@ module.exports = class Wercker extends BaseJsonService {
static get examples() {
return [
{
previewUrl: 'wercker/go-wercker-api',
exampleUrl: 'wercker/go-wercker-api',
urlPattern: ':applicationName/:projectId',
staticExample: this.render({ status: 'finished', result: 'passed' }),
},
{
title: `${this.name} branch`,
previewUrl: 'wercker/go-wercker-api/master',
urlPattern: ':applicationName/:projectId/:branch',
exampleUrl: 'wercker/go-wercker-api/master',
staticExample: this.render({ status: 'finished', result: 'passed' }),
},
]