1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-25 18:20:46 +02:00

Update build script

This commit is contained in:
Kamran Ahmed
2019-11-16 16:12:18 +04:00
parent 335fb92925
commit feae552791

View File

@@ -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