diff options
author | Valentin Popov <valentin@popov.link> | 2023-05-05 15:50:57 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2023-05-05 15:50:57 +0300 |
commit | a88e005dc7cd58f276aaf7560411f4355addcf50 (patch) | |
tree | 0553e23ecf5e8549723514864d516b7f19e7b97a /netlify.toml | |
parent | 014232855ce7a022b568246a484edb89b935d8f8 (diff) | |
download | popov.link-a88e005dc7cd58f276aaf7560411f4355addcf50.tar.xz popov.link-a88e005dc7cd58f276aaf7560411f4355addcf50.zip |
Updated the build Netlify command [2]
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'netlify.toml')
-rw-r--r-- | netlify.toml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml index fea4417..7a1eddc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,8 +3,11 @@ # to have a `base` variable but you do need the `publish` and `command` variables. base = "" publish = "public" -command = "zola build --base-url \"$DEPLOY_PRIME_URL\"" +command = "zola build --base-url \"$URL\"" [build.environment] # Set the version name that you want to use and Netlify will automatically use it. ZOLA_VERSION = "0.17.2" + +[context.deploy-preview] +command = "zola build --base-url \"$DEPLOY_PRIME_URL\""
\ No newline at end of file |