Skip to main content

Lektor plugin to publish your site with Netlify.

Project description

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    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor-netlify-0.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

lektor_netlify-0.3-py2-none-any.whl (3.1 kB view details)

Uploaded Python 2

File details

Details for the file lektor-netlify-0.3.tar.gz.

File metadata

  • Download URL: lektor-netlify-0.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for lektor-netlify-0.3.tar.gz
Algorithm Hash digest
SHA256 8ed19a0c5e732f6d377d135dcdcd02566d2cc6e60ae93ae6b81fcc5ff32e7222
MD5 0edbabe97b3d53e0ba87eadf9174ba7c
BLAKE2b-256 52ccd44e916f7ddca8e1899f3e0255f6ff369412b387f25827bb2e2a0978806d

See more details on using hashes here.

File details

Details for the file lektor_netlify-0.3-py2-none-any.whl.

File metadata

  • Download URL: lektor_netlify-0.3-py2-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for lektor_netlify-0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 1c87f7fd1715a517cd2f82f74f01a3a5677e31fbd48eeb6a4e65aac25132c2c1
MD5 e292b8a46328e6bd0a7ba0156fde590c
BLAKE2b-256 90904af214d7e34da226f240c58beabab849f557253d9817b19f5674da5c5f99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page