Skip to content

morrislaptop/netlify-copy-env-vars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netlify-copy-env-vars

Copy env vars from one site to another

oclif Version Downloads/week License

Usage

npx netlify-copy-env-vars from-site-domain to-site-domain --token=23453153asdfasfdadcacafrfdafdasffdsa

About site IDs

Whenever the API requires a :site_id, you can either use the id of a site obtained through the API, or the domain of the site (for example, mysite.netlify.app or www.example.com). These two are interchangeable whenever they're used in API paths.

GET /api/v1/sites/3970e0fe-8564-4903-9a55-c5f8de49fb8b returns the site with a matching id.

GET /api/v1/sites/www.example.com returns the site matching the domain www.example.com.

About

Copy env vars from one site to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages