Script to deploy site to your CSC website #99

Merged
n3parikh merged 2 commits from neil/demo-script into main 2021-08-03 19:17:09 -04:00
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