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

Co-authored-by: Neil Parikh <n3parikh@csclub.uwaterloo.ca>
Reviewed-on: www/www-new#99
Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca>
Co-authored-by: n3parikh <n3parikh@localhost>
Co-committed-by: n3parikh <n3parikh@localhost>
amy-random-shapes
n3parikh 1 year ago
parent c4c0be9861
commit b281572116
  1. 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