Fix publish task

This commit is contained in:
The Magician 2023-12-02 17:23:37 +00:00
parent bab88eaba1
commit 5f7cf72426
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
serve: serve:
python -m http.server python -m http.server
publish: publish:
rsync -r * themagician.cc:/usr/share/nginx/html/www/ rsync --delete --recursive * root@themagician.cc:/usr/share/nginx/html/www/
ssh root@themagician.cc 'chown -R www:www /usr/share/nginx/html/www/'