9858cb5848
Netlify has support for publishing built sites via a CLI tool. Add support for using that. Change-Id: Ib47ac48a386e5e93f93455ef1202fc2af970b1c9
25 lines
656 B
ReStructuredText
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.
|