This commit is contained in:
f 2020-11-12 15:03:43 -03:00
parent f98f680608
commit 3639cac621

View file

@ -37,6 +37,10 @@ assets/fonts/forkawesome-webfont.woff2: fa.txt
fa: assets/fonts/forkawesome-webfont.woff2 ## Fork Awesome 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 /etc/hosts: always
@echo "Chequeando si es necesario agregar el dominio local $(domain)" @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 $@ @grep -q " $(domain)$$" $@ || echo -e "127.0.0.1 $(domain)\n::1 $(domain)" | sudo tee -a $@