Skip to content

Latest commit

 

History

History

site_id

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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