Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 391 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 391 Bytes

garden netlify-site-id

Get the current Netlify site API ID provided by the NETLIFY_SITE_ID environment variable or the value of the netlify.siteid git configuration option.

Usage

import { netlifySiteId } from '@zendeskgarden/scripts';

(async () => {
  const siteId = await netlifySiteId();

  console.log(siteId);
})();

Command

garden netlify-site-id