diff --git a/bin/publish b/bin/publish new file mode 100755 index 00000000..0d1516d9 --- /dev/null +++ b/bin/publish @@ -0,0 +1,11 @@ +#!/bin/bash + +cd website +npm run build +cd .. +git switch gh-pages +cp -R website/build/* . +git add --all +git commit -m "Update website" +git push origin gh-pages +git switch master