Skip to main content

Package to help with deploying Netlify

Project description


A script to deploy a whole directory to Netlify using their incremental deploy API.

Commandline usage:

  • Set NETLIFY_TOKEN environment variable to your token
  • branch_name netlify_site_id directory_to_deploy

The branch name is being used to determine if the deployment is a preview one branch_name != 'master' or should the site be published - (when on master) - see this issue for a starting point to make it more explicit.

PRs welcome - please see the list of issues for the things to pick up.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for netlify-deployer, version 0.5.2
Filename, size File type Python version Upload date Hashes
Filename, size netlify_deployer-0.5.2-py2.py3-none-any.whl (16.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size netlify_deployer-0.5.2.tar.gz (17.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page