push
This commit is contained in:
parent
f98f680608
commit
3639cac621
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -37,6 +37,10 @@ assets/fonts/forkawesome-webfont.woff2: fa.txt
|
|||
|
||||
fa: assets/fonts/forkawesome-webfont.woff2 ## Fork Awesome
|
||||
|
||||
push: ## Publica los cambios locales
|
||||
sudo chgrp -R 82 _site
|
||||
rsync -avi --delete-after _site/ root@athshe.sutty.nl:/srv/sutty/srv/http/data/_deploy/$(site).sutty.nl/
|
||||
|
||||
/etc/hosts: always
|
||||
@echo "Chequeando si es necesario agregar el dominio local $(domain)"
|
||||
@grep -q " $(domain)$$" $@ || echo -e "127.0.0.1 $(domain)\n::1 $(domain)" | sudo tee -a $@
|
||||
|
|
Loading…
Reference in a new issue