Skip to content

Commit 6e25a3f

Browse files
committed
build only option for local testing
1 parent 2ffe5d3 commit 6e25a3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ echo "Build complete"
2121
rm -rf `ls -d * | grep -vP 'site|node_modules' | xargs`
2222
echo "Cleaned out directory"
2323
mv site/* .
24+
if [[ $BUILD_ONLY ]]; then
25+
exit
26+
fi
2427
rm -rf site
2528
git add . -A
2629
git commit -m 'latest'

0 commit comments

Comments
 (0)