Update publish action to use server block webroot
This commit is contained in:
parent
a53509b5a4
commit
9c8518264c
5
Makefile
5
Makefile
|
@ -1,5 +1,6 @@
|
|||
serve:
|
||||
python -m http.server
|
||||
publish:
|
||||
rsync --delete --recursive * root@themagician.cc:/usr/share/nginx/html/www/
|
||||
ssh root@themagician.cc 'chown -R www:www /usr/share/nginx/html/www/'
|
||||
rsync --delete --recursive * root@themagician.cc:/var/www/themagician.cc/html/
|
||||
ssh root@themagician.cc 'chown -R www:www /var/www/themagician.cc/html/'
|
||||
ssh root@themagician.cc 'chcon -vR system_u:object_r:httpd_sys_content_t:s0 /var/www/themagician.cc/'
|
||||
|
|
Loading…
Reference in New Issue