Browse Source

Script to deploy site to your CSC website (#99)

Co-authored-by: Neil Parikh <n3parikh@csclub.uwaterloo.ca>
Reviewed-on: #99
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: n3parikh <n3parikh@localhost>
Co-committed-by: n3parikh <n3parikh@localhost>
pull/147/head
n3parikh 1 year ago
parent
commit
b281572116
  1. 7
      deploy-demo.bash

7
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
Loading…
Cancel
Save