Correzione Makefile per gestire caricamento su franco anziché su ciccio.
This commit is contained in:
parent
c65ed93d52
commit
2ab0588fc7
5
Makefile
5
Makefile
|
@ -26,8 +26,8 @@ ifneq ($(PORT), 0)
|
||||||
PELICANOPTS += -p $(PORT)
|
PELICANOPTS += -p $(PORT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SSH_HOST = ciccio
|
SSH_HOST = root@franco
|
||||||
SSH_TARGET_DIR = /var/lib/nethserver/vhost/conference
|
SSH_TARGET_DIR = /var/www/conference/
|
||||||
|
|
||||||
|
|
||||||
help:
|
help:
|
||||||
|
@ -74,5 +74,6 @@ publish:
|
||||||
|
|
||||||
rsync_upload: publish
|
rsync_upload: publish
|
||||||
rsync -rl $(OUTPUTDIR)/ $(SSH_HOST):$(SSH_TARGET_DIR)
|
rsync -rl $(OUTPUTDIR)/ $(SSH_HOST):$(SSH_TARGET_DIR)
|
||||||
|
ssh $(SSH_HOST) sudo chown root:www-data -R $(SSH_TARGET_DIR)
|
||||||
|
|
||||||
.PHONY: html help clean regenerate serve serve-global devserver publish
|
.PHONY: html help clean regenerate serve serve-global devserver publish
|
||||||
|
|
Loading…
Reference in New Issue