robertjohnson.work/deploy.sh

5 lines
250 B
Bash
Raw Normal View History

2024-02-15 12:24:00 -05:00
#!/bin/bash
2024-05-29 17:25:47 -04:00
sudo rm -Rf /home/user-data/www/scottjohnson.pro
sudo mv -f /home/ubuntu/_site /home/user-data/www/scottjohnson.pro
sudo chown -R user-data:root /home/user-data/www/scottjohnson.pro
sudo chmod -R 755 /home/user-data/www/scottjohnson.pro