Skip to content

Commit da1a956

Browse files
committed
fix: Rollback changes in sitemap file when depolying
1 parent 053c886 commit da1a956

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ echo -e "${GREEN}Run build script...${WHITE}"
1414
echo -e "${WHITE}> ./tools/build.sh"
1515
./tools/build.sh
1616

17+
echo -e "${WHITE}> git checkout ./app/static/sitemap.xml"
18+
git checkout ./app/static/sitemap.xml
19+
1720
if [[ $(git status -s) == "" ]]; then
1821
echo -e "${GREEN}Modify gitignore list temporarily...${WHITE}"
1922

0 commit comments

Comments
 (0)