Lektor Netlify Publisher Plugin
Publish your Lektor site to Netlify.
Installation
Install the netlify command-line program according to the instructions on netlify.com.
Add lektor-netlify to your project from the command line:
lektor plugins add lektor-netlify
See the Lektor documentation for more instructions on installing plugins.
Configuration
Configure a server in your .lektorproject file:
[servers.production]
name = Production
target = netlify://my-domain.com
Access Token
Get a personal access token from Netlify's "applications" page:
You must use this access token each time you publish. If your project file is private you can save the token there. Do not commit this!
[servers.production]
name = Production
target = netlify://my-domain.com
key = ACCESS_TOKEN
Now deploy your site like:
lektor deploy production
Otherwise, pass the token on the command line:
lektor deploy production --key ACCESS_TOKEN
Release files for lektor-netlify 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lektor-netlify-0.3.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lektor_netlify-0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 5.9 kB
Release files / lektor-netlify-0.3.tar.gz
| Download URL | lektor-netlify-0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ed19a0c5e732f6d377d135dcdcd02566d2cc6e60ae93ae6b81fcc5ff32e7222
|
|
BLAKE2b-256 checksum How to use checksums |
52ccd44e916f7ddca8e1899f3e0255f6ff369412b387f25827bb2e2a0978806d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1
|
Release files / lektor_netlify-0.3-py2-none-any.whl
| Download URL | lektor_netlify-0.3-py2-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1c87f7fd1715a517cd2f82f74f01a3a5677e31fbd48eeb6a4e65aac25132c2c1
|
|
BLAKE2b-256 checksum How to use checksums |
90904af214d7e34da226f240c58beabab849f557253d9817b19f5674da5c5f99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15rc1
|