diff --git a/deploy.sh b/deploy.sh index 8151ac72..e331cc5b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,6 +1,11 @@ #!/bin/sh +rm -rf build npm run build cd ./build +git init git add . git commit -m 'push to gh-pages' git push --force git@github.com:anvaka/pm.git master:gh-pages +cd ../ +git tag `date "+release-%Y%m%d%H%M%S"` +git push --tags \ No newline at end of file