zuul-jobs/roles/netlify-publish
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
..
defaults Add a job for publishing a site to netlify 2024-06-03 11:58:34 -07:00
tasks Add a job for publishing a site to netlify 2024-06-03 11:58:34 -07:00
templates Add a job for publishing a site to netlify 2024-06-03 11:58:34 -07:00
README.rst Add a job for publishing a site to netlify 2024-06-03 11:58:34 -07:00

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