diff --git a/playbooks/javascript/run-docs.yaml b/playbooks/javascript/run-docs.yaml new file mode 100644 index 000000000..5078a587c --- /dev/null +++ b/playbooks/javascript/run-docs.yaml @@ -0,0 +1,4 @@ +- hosts: all + roles: + - role: npm + npm_command: docs diff --git a/zuul.yaml b/zuul.yaml index f9231a0ea..d77fb7114 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -235,3 +235,19 @@ The version of Node to use. run: playbooks/javascript/run-lint.yaml + +- job: + name: nodejs-npm-run-docs + parent: javascript-base + description: | + Run docs using nodejs. + + Responds to this variable: + + .. zuul:jobvar:: node_version + :default: 6 + + The version of Node to use. + run: playbooks/javascript/run-docs.yaml + post-run: playbooks/tox/docs-post.yaml + success-url: html/