Computer Science Club of the University of Waterloo's website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
280 B

#!/usr/bin/env bash
set -ex
cd $(mktemp --directory)
git clone
cd www-new
npm install
npm run build
npm run export
pushd out
chgrp -R www .
chmod -R g+w .
shopt -s dotglob
rm -rf /srv/www-csc/*
mv out/* /srv/www-csc/