diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 16:15:29 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 16:15:29 +0200 |
commit | 46c62971ff0c4b70269b5e95dedd6e41d733c8db (patch) | |
tree | 2d169913e9fc922cd77ebdc619341d02a1131387 /Makefile | |
parent | add "Pause all userspace processes" (diff) | |
download | blog-46c62971ff0c4b70269b5e95dedd6e41d733c8db.tar.gz blog-46c62971ff0c4b70269b5e95dedd6e41d733c8db.zip |
workflows: fix 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 |