mirror of
https://github.com/torproject/webwml.git
synced 2024-12-15 14:29:20 +00:00
1265ca47f7
This reverts commit 2790f8f20f2398eda08bd8e98b4930327a63b8eb. Looks like some stuff got accidentally committed, most importantly the make clean removal and the change of the stable/alpha version
20 lines
584 B
Bash
Executable File
20 lines
584 B
Bash
Executable File
#!/bin/sh
|
|
set -e # stop if we encounter an error
|
|
|
|
# pull the latest changes
|
|
svn update
|
|
|
|
# clean up the working directory
|
|
make clean
|
|
|
|
# actually build the site
|
|
make -j3
|
|
|
|
# don't copy over stuff with permissions that make it useless
|
|
chmod -R a+r *
|
|
rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi --exclude project -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
|