From 9c66f77b05e5d24679d042732ac575b0ca3d1ef5 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Mon, 29 Oct 2018 13:04:12 +0100 Subject: [PATCH] Add manual download to netlify docs --- docs/content/documentation/deployment/netlify.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/documentation/deployment/netlify.md b/docs/content/documentation/deployment/netlify.md index d71e3e76..933da717 100644 --- a/docs/content/documentation/deployment/netlify.md +++ b/docs/content/documentation/deployment/netlify.md @@ -45,6 +45,12 @@ ZOLA_VERSION = "0.5.0" command = "zola build --base-url $DEPLOY_PRIME_URL" ``` +You can also download the archive directly from GitHub if needed, replacing the version in the URL with the one wanted: + +``` +command = "curl -sL https://github.com/getzola/zola/releases/download/v0.5.0/zola-v0.5.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv && ./zola build" +``` + ## Manual Deploys If you would prefer to use a version of Zola that isn't a tagged release (for example, after having built Zola from source and made modifications), then you will need to manually deploy your `public` folder to Netlify. You can do this through