Update build script

pull/1331/head
Kamran Ahmed 5 years ago
parent 40919dec14
commit f8fcb8d600
  1. 8
      scripts/build.sh

@ -1,13 +1,5 @@
#!/usr/bin/env bash
ENV_FILE=.env
## Make sure that the configuration file exists before continuing
if [ ! -f "$ENV_FILE" ]; then
echo "$ENV_FILE does not exist"
exit 1
fi
NODE_ENV=prod next build
next export
echo 'roadmap.sh' > out/CNAME

Loading…
Cancel
Save