Skip to main content

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.

Metadata

Release files for netlify-deployer 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netlify-deployer 0.5.2
File Size Uploaded
netlify_deployer-0.5.2.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netlify-deployer 0.5.2
File Interpreter ABI Platform
netlify_deployer-0.5.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 33.4 kB

Release files / netlify_deployer-0.5.2.tar.gz

Download URL netlify_deployer-0.5.2.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aae0092b36e7408281ad73269b446c701edaacecc8ba1a07cc85671e3ddfae6e
BLAKE2b-256 checksum
How to use checksums
36a42f4b21f742976cb88f061f1647120a6dcb921b47b56b550d6a9e8f5d006d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / netlify_deployer-0.5.2-py2.py3-none-any.whl

Download URL netlify_deployer-0.5.2-py2.py3-none-any.whl
Size 16.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
61e1da70e042c1f276b98dbcb1f4a4565569c38d466d0106203219b78999f161
BLAKE2b-256 checksum
How to use checksums
446302f752cca732a48fb066fbcb95c82a15d12d0cf21969a511fcc588979e39
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

1 release file

0.4.8

1 release file

0.0.6

2 release files

0.0.5

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page