summaryrefslogtreecommitdiffstats
path: root/extra/sitemap/update_prod.sh
blob: c26dabe487d770bc3445b77fa81ddfdc11870fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

set -euo pipefail

export SCHOLARREPLICAHOST=wbgrp-svc500.us.archive.org

cd /srv/fatcat_scholar/sitemap
/srv/fatcat_scholar/src/extra/sitemap/work_urls_query.sh
/srv/fatcat_scholar/src/extra/sitemap/access_urls_query.sh
/srv/fatcat_scholar/src/extra/sitemap/generate_sitemap_indices.py
scp *.txt *.xml $SCHOLARREPLICAHOST:/srv/fatcat_scholar/sitemap