refactor(es modules): deploy setup

This commit is contained in:
Azgaar 2022-06-26 13:22:33 +03:00
parent ad252b54e6
commit f9aeaddf52
3 changed files with 21 additions and 4 deletions

17
deploy.sh Normal file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env sh
# abort on errors
set -e
npm run build
cd dist
git init
git checkout -b master
git add -A
git commit -m 'deploy'
git push -f git@github.com:Azgaar/Fantasy-Map-Generator.git main:gh-pages
cd -