Skip to main content

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)

Source distribution for lektor-netlify 0.3
File Size Uploaded
lektor-netlify-0.3.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lektor-netlify 0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

1 release file

0.1

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