Files
developer-roadmap/scripts/build.sh
2019-11-16 16:11:08 +04:00

15 lines
266 B
Bash
Executable File

#!/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
touch out/.nojekyll