Build using a script instead of chained cmds Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Wed, 27 May 2020 10:00:28 +0530
2 files changed,
7 insertions(+),
1 deletions(-)
A
netlify-build.sh
@@ -0,0 +1,6 @@
+#!/bin/sh + +pip install git+https://github.com/icyphox/vite +mkdir build +pip install feedparser arrow +vite build
M
netlify.toml
→
netlify.toml
@@ -1,3 +1,3 @@
[build] publish = "build/" - command = "pip install git+https://github.com/icyphox/vite && mkdir build && pip install feedparser arrow && vite build" + command = "./netlify-build.sh"