Skip to content

Commit 7ff853a

Browse files
authored
Merge pull request #1003 from ambarish2012/master
Generated new sitemap.xml and updated pipeline to deploy the latest sitemap.xml
2 parents 007a524 + df72e9b commit 7ff853a

2 files changed

Lines changed: 1772 additions & 0 deletions

File tree

deployDocs.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ sync_docs() {
2222
echo "Building docs"
2323
mkdocs build
2424

25+
if [ "$RUN_MODE" = "production" ]; then
26+
echo "copying sitemap.xml"
27+
cp sitemap.xml ./site/.
28+
fi
29+
2530
if [ -f $REDIRECT_MAPPINGS_FILE ]; then
2631
echo "Setting up redirects"
2732
./$REDIRECT_MAPPINGS_SCRIPT $REDIRECT_MAPPINGS_FILE $AWS_S3_LOCAL_PATH

0 commit comments

Comments
 (0)