Add SSH_PORT to sftp_upload in Makefile template

This commit is contained in:
Jan 2026-03-30 11:03:31 +02:00 committed by GitHub
commit c495634138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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