pixchart/deploy.sh
2023-03-28 22:27:47 -07:00

12 lines
228 B
Bash
Executable File

#!/bin/sh
rm -rf ./dist
npm run build
cd ./dist
git init
git add .
git commit -m 'push to gh-pages'
git push --force git@github.com:anvaka/pixchart.git main:gh-pages
cd ../
git tag `date "+release-%Y%m%d%H%M%S"`
git push --tags