Skip to content

Commit d48dc9f

Browse files
committed
Added deploy
1 parent 68ecde4 commit d48dc9f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

deploy.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
rm -rf build
3+
npm run build
4+
cd ./build
5+
git init
6+
git add .
7+
git commit -m 'push to gh-pages'
8+
git push --force git@github.com:blocage/leetcode-algorithms.git main:gh-pages
9+
cd ../
10+
git tag `date "+release-%Y%m%d%H%M%S"`
11+
git push --tags

0 commit comments

Comments
 (0)