diff options
-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 |