From 534e09d90519215a4dc6d4c48d2718f23d3cc10f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 3 Apr 2025 12:14:31 +0200 Subject: [PATCH] Makefile: include SSH port in .env file Include the SSH port in the `.env` file, so that we can rsync to non- default port numbers. --- .env.example | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 110ef468..658174ba 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,5 @@ # Copy this file as .env # SSH account & hostname for publishing. WEBSERVER_SSH=user@domain +WEBSERVER_SSH_PORT=22 WEBSERVER_ROOT=/path-to/flamenco.blender.org diff --git a/Makefile b/Makefile index 57229d2c..a1896731 100644 --- a/Makefile +++ b/Makefile @@ -165,7 +165,7 @@ deploy-website: rm -rf web/project-website/public/ go run ${HUGO_PKG} -s web/project-website --baseURL https://flamenco.blender.org/ rsync web/project-website/public/ ${WEBSERVER_SSH}:${WEBSERVER_ROOT}/ \ - -e "ssh" \ + -e "ssh -p ${WEBSERVER_SSH_PORT}" \ -rl \ --exclude v2/ \ --exclude downloads/ \