Script to deploy site to your CSC website (#99)
continuous-integration/drone/push Build is passing Details

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>
This commit is contained in:
Neil Parikh 2021-08-03 19:17:08 -04:00
parent c4c0be9861
commit b281572116
1 changed files with 7 additions and 0 deletions

7
deploy-demo.bash Executable file
View File

@ -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