https://github.com/cyplo/netlify_deployer
A script to deploy to Netlify incrementally
https://github.com/cyplo/netlify_deployer
deployment netlify
Last synced: 2 months ago
JSON representation
A script to deploy to Netlify incrementally
- Host: GitHub
- URL: https://github.com/cyplo/netlify_deployer
- Owner: cyplo
- License: agpl-3.0
- Created: 2017-03-01T11:39:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-22T20:16:00.000Z (almost 5 years ago)
- Last Synced: 2025-10-29T20:18:34.861Z (5 months ago)
- Topics: deployment, netlify
- Language: Python
- Homepage: https://pypi.org/project/netlify-deployer/
- Size: 34.2 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/cyplo/netlify_deployer/issues/1) for a starting point to make it more explicit.
PRs welcome - please see the list of issues for the things to pick up.