diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-15 14:44:16 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-15 14:48:43 +0200 |
commit | 425d20d2001d87eff0e6aa3c605bf30ff2063f60 (patch) | |
tree | aac0e0821ac346ceed74585f36143a04b1fffa83 /Makefile | |
parent | upgrade to Jekyll 4 (diff) | |
download | jekyll-theme-425d20d2001d87eff0e6aa3c605bf30ff2063f60.tar.gz jekyll-theme-425d20d2001d87eff0e6aa3c605bf30ff2063f60.zip |
workflows: set remote port
Diffstat (limited to 'Makefile')
-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 |