Publish your Lektor site to Surge. ⛺
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
lektor_surge.py
setup.py

README.md

Lektor Surge Publisher Plugin

Publishes your Lektor site to Surge.

Installation

Add lektor-surge to your project from command line:

lektor plugins add lektor-surge

See the Lektor documentation for more instructions on installing plugins.

Configuration

Configure Surge in your .lektorproject file:

[servers.surge]
target = surge:my-domain.com

To force all traffic to HTTPS, update your .lektorproject file:

[servers.surge]
target = surge+https:my-domain.com

For more information, see the Surge guide to HTTPS.

Deployment

Deploy your site with Lektor from the command line:

lektor deploy surge