From 666de5160e64a9452ad35b29ae857dc39e02dd4c Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Thu, 11 Jul 2019 11:10:14 +0200 Subject: [PATCH] Fix Netlify auto-deploy instructions Closes #745 --- docs/content/documentation/deployment/netlify.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/documentation/deployment/netlify.md b/docs/content/documentation/deployment/netlify.md index 04305ee8..b903b72a 100644 --- a/docs/content/documentation/deployment/netlify.md +++ b/docs/content/documentation/deployment/netlify.md @@ -14,8 +14,10 @@ If you don't have an account with Netlify, you can [sign up](https://app.netlify Once you are in the admin interface, you can add a site from a Git provider (GitHub, GitLab or Bitbucket). At the end of this process, you can select the deploy settings for the project: - - build command: `ZOLA_VERSION=0.8.0 zola build` (replace the version number in the variable by the version you want to use) + - build command: `zola build` (replace the version number in the variable by the version you want to use) - publish directory: the path to where the `public` directory is + - image selection: `Ubuntu Xenial 16.04 (default)` + - Environment variables: `ZOLA_VERSION` with for example `0.8.0` as value With this setup, your site should be automatically deployed on every commit on master. For `ZOLA_VERSION`, you may use any of the tagged `release` versions in the GitHub repository — Netlify will automatically fetch the tagged version