Notes

Netlify notes

author: Paul Kim

categories: netlify

tags: netlify

netlify notes

https://www.netlify.com/docs/continuous-deployment

set node, ruby, or python version

https://www.netlify.com/docs/continuous-deployment/#set-node-ruby-or-python-version

  • add .nvmrc file to your repository.
  • set NODE_VERSION environment variable on Netlify Advanced build settings or on netlify.toml

setting environment variables

NODE_VERSION 12.9.1

NODE-ENV production

netlify.toml

https://www.netlify.com/docs/netlify-toml-reference/

[build]
  command = "npm run build"
  publish = "public/"

skipping a deploy

to push commits to your production branch without triggering a deploy on Netlify: add [skip ci] anywhere in the Git commit message

netlify command line tools

https://www.netlify.com/docs/cli/

References

ChromeEdgeFirefoxOpera

© 2021 paulkode.com. All rights reserved.