mirror of
https://github.com/torproject/webwml.git
synced 2024-12-16 06:49:11 +00:00
14 lines
468 B
Bash
Executable File
14 lines
468 B
Bash
Executable File
#!/bin/sh
|
|
set -e # stop if we encounter an error
|
|
|
|
svn update
|
|
make -j3
|
|
|
|
# don't copy over stuff with permissions that make it useless
|
|
chmod a+r * -R
|
|
rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi -Prvz --delete . vescum:/srv/www-master.torproject.org/htdocs
|
|
|
|
echo "Forcing mirror update"
|
|
ssh vescum '/home/mirroradm/bin/trigger-mirrors'
|
|
ssh vescum chmod g+w -R /srv/www-master.torproject.org/htdocs
|