mv file one folder up
All checks were successful
Deploy React / build-and-deploy (push) Successful in 15s
All checks were successful
Deploy React / build-and-deploy (push) Successful in 15s
This commit is contained in:
@@ -42,7 +42,11 @@ jobs:
|
||||
rm -rf /var/www/hotel-demo/index.html
|
||||
|
||||
tar -xzf /tmp/build.tar.gz -C /var/www/hotel-demo
|
||||
|
||||
mv /var/www/hotel-demo/dist/* /var/www/hotel-demo/
|
||||
rm -rf /var/www/hotel-demo/dist
|
||||
|
||||
sudo chown -R www-data:www-data /var/www/hotel-demo
|
||||
|
||||
|
||||
sudo systemctl reload nginx
|
||||
EOF
|
||||
Reference in New Issue
Block a user