diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 16:24:20 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 16:24:20 +0200 |
commit | 7465cf9ee655030fc646f6b307e7f336c81787de (patch) | |
tree | 336bd4a86413f7461606bd123d8f017ab46d16a3 /Makefile | |
parent | README: update (diff) | |
download | sorting-algorithms-7465cf9ee655030fc646f6b307e7f336c81787de.tar.gz sorting-algorithms-7465cf9ee655030fc646f6b307e7f336c81787de.zip |
workflows: set remote port
Diffstat (limited to '')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -53,12 +53,14 @@ view: REMOTE_USER ?= who REMOTE_HOST ?= where +REMOTE_PORT ?= 22 REMOTE_DIR ?= /path/to/dir $(eval $(call noexpand,REMOTE_USER)) $(eval $(call noexpand,REMOTE_HOST)) +$(eval $(call noexpand,REMOTE_PORT)) $(eval $(call noexpand,REMOTE_DIR)) .PHONY: deploy deploy: - rsync -avh -e 'ssh -o StrictHostKeyChecking=no' _site/ '$(call escape,$(REMOTE_USER)@$(REMOTE_HOST):$(REMOTE_DIR)/)' --delete + rsync -avh -e 'ssh -p $(call escape,$(REMOTE_PORT)) -o StrictHostKeyChecking=no' _site/ '$(call escape,$(REMOTE_USER)@$(REMOTE_HOST):$(REMOTE_DIR)/)' --delete |