netlify_deployer
A script to deploy a whole directory to Netlify using their incremental deploy API.
Commandline usage:
- Set
NETLIFY_TOKENenvironment 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)
| File | Size | Uploaded | |
|---|---|---|---|
| netlify_deployer-0.5.2.tar.gz | 17.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|