Monty Taylor 8236df604f Add job for publishing to netlify
Change-Id: I56707516a00d7b7a2869bde53d025e01cb1376cf
2020-07-30 18:10:53 -05:00

25 lines
656 B
ReStructuredText

Publish built site to netlify
**Role Variables**
.. zuul:rolevar:: netlify_site_id
Site id for the site to publish. This can be found on the site
general settings page as ``API Id``.
.. zuul:rolevar:: netlify_auth
Complex argument which contains the netlify authentication credentials.
This is expected to come from a secret.
.. zuul:rolevar:: token
API token to use to publish the content. Instructions for creating
a token can be found at
https://docs.netlify.com/cli/get-started/#obtain-a-token-in-the-netlify-ui
.. zuul:rolevar:: zuul_work_dir
:default: {{ zuul.project.src_dir }}
The project directory.