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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for netlify_deployer-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7393d2c24a22e263acd9358c6194b8813261d9c28bd72d611b7c1087294efc11 |
|
MD5 | 70bdf2d4bd083ff57c334e9c5cd57ddc |
|
BLAKE2b-256 | a8af6d415533a3367d1f4bbdee645de6e4362d2bc2449b5bb762422d41ac9926 |