diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 16:26:13 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 16:26:13 +0200 |
commit | 216697736f8825af316451733b93e2d6cee04338 (patch) | |
tree | 26d0dd14e556731893723ecce8afd467a62a94ba /Makefile | |
parent | README: update (diff) | |
download | wireguard-config-216697736f8825af316451733b93e2d6cee04338.tar.gz wireguard-config-216697736f8825af316451733b93e2d6cee04338.zip |
workflows: set remote port
Diffstat (limited to '')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -66,12 +66,14 @@ assets/js/bundle.js: package-lock.json 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 |