Adjust deployment script to build assets correctly