Deploy script (#276)
continuous-integration/drone/push Build was killed Details

Reviewed-on: #276
Co-authored-by: Aditya Thakral <>
Co-committed-by: Aditya Thakral <>
Aditya Thakral 2021-09-03 18:16:50 -04:00
parent 64b9ae9623
commit 690fb8b566
1 changed files with 25 additions and 0 deletions

25 Executable file
View File

@ -0,0 +1,25 @@
#!/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/