From 462ba10b9e9e800af1db3db15533fdf52fd6ff85 Mon Sep 17 00:00:00 2001 From: Marshall Quander <marshall@quander.me> Date: Thu, 26 Jul 2018 17:40:23 -0700 Subject: [PATCH] Copy default.env -> .env during build --- scripts/hab-build-and-push.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/hab-build-and-push.sh b/scripts/hab-build-and-push.sh index 40df6a3f8..a9290dff3 100755 --- a/scripts/hab-build-and-push.sh +++ b/scripts/hab-build-and-push.sh @@ -21,6 +21,9 @@ rm /usr/bin/env ln -s "$(hab pkg path core/coreutils)/bin/env" /usr/bin/env hab pkg install -b core/coreutils core/bash core/node core/git core/aws-cli +# todo: consider more elegant ways to accomplish this +cp scripts/default.env .env + npm ci --verbose --no-progress npm run build mkdir dist/pages -- GitLab