Skip to content

Commit

Permalink
fix: Rollback changes in sitemap file when depolying
Browse files Browse the repository at this point in the history
  • Loading branch information
parksb committed Nov 15, 2020
1 parent 053c886 commit da1a956
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ echo -e "${GREEN}Run build script...${WHITE}"
echo -e "${WHITE}> ./tools/build.sh"
./tools/build.sh

echo -e "${WHITE}> git checkout ./app/static/sitemap.xml"
git checkout ./app/static/sitemap.xml

if [[ $(git status -s) == "" ]]; then
echo -e "${GREEN}Modify gitignore list temporarily...${WHITE}"

Expand Down

0 comments on commit da1a956

Please sign in to comment.