diff options
author | Indrajith K L | 2022-08-29 01:38:44 +0530 |
---|---|---|
committer | Indrajith K L | 2022-08-29 01:38:44 +0530 |
commit | 08ee15db22ea4a8c90816caea21c8510a03a7678 (patch) | |
tree | 02782ce7b7baa55ada8d94c92a0df5a2dd7556c4 /deploy.sh | |
parent | bb799d4f648c9f138dcb706f5e6403feccb93996 (diff) | |
download | indrajith-dev-08ee15db22ea4a8c90816caea21c8510a03a7678.tar.gz indrajith-dev-08ee15db22ea4a8c90816caea21c8510a03a7678.tar.bz2 indrajith-dev-08ee15db22ea4a8c90816caea21c8510a03a7678.zip |
Build script fixes
Diffstat (limited to 'deploy.sh')
-rw-r--r-- | deploy.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ #!/usr/bin/zsh npm run build cd public -mv -v -f ./* /var/www/html
\ No newline at end of file +PROJECTDIR=$(pwd) +cd /var/www/html +rm -R ./* +cd $PROJECTDIR +cp -rp ./* /var/www/html/
\ No newline at end of file |