10 lines
454 B
Bash
Executable File
10 lines
454 B
Bash
Executable File
#!/bin/bash
|
|
cd ..
|
|
ng build --prod --no-aot --env=prod
|
|
# deploy the disbiome website to the disbiome webservice
|
|
rsync -az -e ssh --progress --exclude dist/.git --delete dist/* root@disbiomewebserver:/var/www/html/
|
|
# overwrite the local config with the remote config
|
|
# ssh disbiomewebserver mv /var/www/html/app/config/appconfig.remote.ts /var/www/html/app/config/appconfig.ts
|
|
# recompile everything
|
|
# ssh disbiomewebserver 'cd /var/www/html ; npm run tsc
|