From b28157211685f2da073a09c6b0942239d8d15923 Mon Sep 17 00:00:00 2001 From: n3parikh Date: Tue, 3 Aug 2021 19:17:08 -0400 Subject: [PATCH] Script to deploy site to your CSC website (#99) Co-authored-by: Neil Parikh Reviewed-on: https://git.csclub.uwaterloo.ca/www/www-new/pulls/99 Reviewed-by: Aditya Thakral Co-authored-by: n3parikh Co-committed-by: n3parikh --- deploy-demo.bash | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 deploy-demo.bash diff --git a/deploy-demo.bash b/deploy-demo.bash new file mode 100755 index 00000000..2973bfc2 --- /dev/null +++ b/deploy-demo.bash @@ -0,0 +1,7 @@ +#!/bin/bash +export NEXT_PUBLIC_BASE_PATH="/~$USER/website-demo" +rm -rf ~/www/website-demo +npm install +npm run build +npm run export +mv out ~/www/website-demo