Skip to content

Commit

Permalink
fixed the deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
anvaka committed Mar 18, 2020
1 parent 26260eb commit 9dbb5ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -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 [email protected]:anvaka/pm.git master:gh-pages
cd ../
git tag `date "+release-%Y%m%d%H%M%S"`
git push --tags

0 comments on commit 9dbb5ea

Please sign in to comment.