Skip to content

Commit

Permalink
move sitemap to right location (#5603)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean1588 authored Oct 4, 2024
1 parent ba6084e commit 709bab8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/ci/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ if [ ! "$(find $build_dir -type f | grep index.html | wc -l)" -ge 1000 ]; then
exit 1
fi

# Move the sitemap from root to the registry directory.
mv "${build_dir}/sitemap.xml" "${build_dir}/registry/sitemap.xml"

# For previews, name the destination bucket with the PR number, to reduce the number of
# buckets we create and to facilitate shorter sync times.
destination_bucket="$(origin_bucket_prefix)-$(build_identifier)"
Expand Down

0 comments on commit 709bab8

Please sign in to comment.