14 lines
353 B
Bash
14 lines
353 B
Bash
|
#!/bin/sh
|
||
|
set -x
|
||
|
|
||
|
npm run build &&
|
||
|
git checkout gh-pages &&
|
||
|
mv out/index.html index.html &&
|
||
|
mv out/spec.css spec.css &&
|
||
|
mv out/spec.js spec.js &&
|
||
|
git add {index.html,spec.css,spec.js} &&
|
||
|
git commit -a -m "update gh-pages" &&
|
||
|
git push origin gh-pages &&
|
||
|
git checkout master &&
|
||
|
open "https://rwaldron.github.io/proposal-math-extensions"
|