zuul-jobs/roles/netlify-publish/README.rst
Monty Taylor 9858cb5848 Add a job for publishing a site to netlify
Netlify has support for publishing built sites via a CLI tool. Add
support for using that.

Change-Id: Ib47ac48a386e5e93f93455ef1202fc2af970b1c9
2024-06-03 11:58:34 -07:00

656 B

Publish built site to netlify

Role Variables

Site id for the site to publish. This can be found on the site general settings page as API Id.

Complex argument which contains the netlify authentication credentials. This is expected to come from a secret.

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