Add sftp_upload Makefile target to .phony

Signed-off-by: Deniz Turgut <dturgut@gmail.com>
This commit is contained in:
Deniz Turgut 2023-04-29 19:00:52 +03:00
commit 4f96d8056d
No known key found for this signature in database
GPG key ID: 87B7168D7AB3ED2F

View file

@ -125,6 +125,7 @@ publish:
ssh_upload: publish
scp -P $(SSH_PORT) -r "$(OUTPUTDIR)"/* "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)"
{% set upload = upload + ["sftp_upload"] %}
sftp_upload: publish
printf 'put -r $(OUTPUTDIR)/*' | sftp $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)