xemu-website/publish.sh
2020-04-16 04:08:39 -07:00

14 lines
296 B
Bash
Executable File

#!/bin/bash -ex
# exit 0
cd dist
cssmin > theme.css.min < theme.css
mv theme.css.min theme.css
rm -rf .git
git init .
git remote add origin git@github.com:mborgerson/xemu-website.git
echo "xemu.app" > CNAME
git add .
git commit -m "Update site"
git branch -m gh-pages
git push -f origin gh-pages