Deploy to GitHub Pages and generate .nojekyll
and CNAME
files to output directory. Create & push to gh-pages subtree.
touch ./gitignore
sed -i '/.output/d' .gitignore # remove .output from .gitignore
npm run generate
touch .output/public/.nojekyll
echo "yourdomain.com" > .output/public/CNAME # only necessary for custom domain