Skip to main content

Package to help with deploying Netlify

Project description

netlify_deployer

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

Commandline usage:

  • Set NETLIFY_TOKEN environment variable to your token
  • netlify_deployer.py 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.

Source Distribution

netlify_deployer-0.5.2.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netlify_deployer-0.5.2-py2.py3-none-any.whl (16.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file netlify_deployer-0.5.2.tar.gz.

File metadata

  • Download URL: netlify_deployer-0.5.2.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20201211 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for netlify_deployer-0.5.2.tar.gz
Algorithm Hash digest
SHA256 aae0092b36e7408281ad73269b446c701edaacecc8ba1a07cc85671e3ddfae6e
MD5 5b91194eae121dc2842a1ab84147418b
BLAKE2b-256 36a42f4b21f742976cb88f061f1647120a6dcb921b47b56b550d6a9e8f5d006d

See more details on using hashes here.

File details

Details for the file netlify_deployer-0.5.2-py2.py3-none-any.whl.

File metadata

  • Download URL: netlify_deployer-0.5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20201211 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for netlify_deployer-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 61e1da70e042c1f276b98dbcb1f4a4565569c38d466d0106203219b78999f161
MD5 840ae73c8152dd304614772ae4e78162
BLAKE2b-256 446302f752cca732a48fb066fbcb95c82a15d12d0cf21969a511fcc588979e39

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page