Skip to content

Commit 5eea5ac

Browse files
committed
generate new sitemap
1 parent 811ef08 commit 5eea5ac

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

sitemap.bat

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
3+
echo "------------- jekyll build start -------------"
4+
5+
6+
echo ""------------- jekyll build complete "-------------"
7+
8+
9+
echo "------------- cd into site package ------------"
10+
echo "------------- change 'localhost:4000' to website host -------------"
11+
12+
13+
echo "------------- change complete -------------"
14+
15+
16+
echo "------------- move sitemap.xml and robot.txt to main root -------------"
17+
18+
19+
echo "------------- push git add ,git commit ,git push-------------"
20+
21+
git add .
22+
git commit -m "generate new sitemap"
23+
git push -u origin master
24+
25+
echo "------------- sitemap created successfully -------------"
26+
27+
28+
29+
pause

0 commit comments

Comments
 (0)