0

I noticed that netlify-cli automatically creates a settings ID.

Regarding the ID, the docs say the following:

[Settings]
# Added automatically by the Netlify CLI. It has no effect during normal 
# Git-backed deploys.
ID = "Your_Site_ID"

I still don't understand why this ID is there. What is the purpose of this ID? Also, can it be committed to a public git repository or is it private?

Thank you for the guidance in advance.

1 Answer 1

1

The ID field in netlify.toml is deprecated

The netlify CLI will automatically set your siteID into a ./netlify/state.json file in your project

This is done when running the netlify link command

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.