omit .git on upload
This commit is contained in:
parent
57d241d513
commit
1189d27163
2
Makefile
2
Makefile
|
@ -41,7 +41,7 @@ post-deploy-docker:
|
||||||
upload:
|
upload:
|
||||||
@- echo "\n### uploading files"
|
@- echo "\n### uploading files"
|
||||||
@- $(foreach host,$(DEPLOY_HOSTS), \
|
@- $(foreach host,$(DEPLOY_HOSTS), \
|
||||||
rsync -rav --exclude '*~' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME); \
|
rsync -rav --exclude '*~' --exclude '.git*' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME); \
|
||||||
)
|
)
|
||||||
|
|
||||||
pull:
|
pull:
|
||||||
|
|
Loading…
Reference in New Issue