We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5295ca6 commit 9cecde5Copy full SHA for 9cecde5
Makefile
@@ -6,6 +6,7 @@ VPS_HOST ?= static.europython.eu
6
VPS_PROD_PATH ?= /home/static_content_user/content/europython_websites/ep2025
7
VPS_PREVIEW_PATH ?= /home/static_content_user/content/previews
8
REMOTE_CMD=ssh $(VPS_USER)@$(VPS_HOST)
9
+SITE_URL ?= "https://$(SAFE_BRANCH).ep-preview.click"
10
11
# Variables for build/deploy
12
# ==========================
@@ -47,6 +48,7 @@ build:
47
48
preview: RELEASES_DIR = $(VPS_PREVIEW_PATH)/$(SAFE_BRANCH)/releases
49
preview: TARGET = $(RELEASES_DIR)/$(TIMESTAMP)
50
preview:
51
+ @echo "Preview site URL: $(SITE_URL)"
52
echo $(TARGET)
53
@echo "\n\n**** Deploying preview of a branch '$(BRANCH)' (safe: $(SAFE_BRANCH)) to $(TARGET)...\n\n"
54
$(REMOTE_CMD) "mkdir -p $(TARGET)"
0 commit comments