File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020 commands :
2121 - npm install -g pnpm@latest-10
2222 - make install
23- - make build PREVIEW=true
23+ - make build PREVIEW=true SITE_URL=$READTHEDOCS_CANONICAL_URL
2424 - mkdir -p $READTHEDOCS_OUTPUT/html
2525 - cd dist && cp -r * $READTHEDOCS_OUTPUT/html
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ VPS_HOST ?= static.europython.eu
66VPS_PROD_PATH ?= /home/static_content_user/content/europython_websites/ep2025
77VPS_PREVIEW_PATH ?= /home/static_content_user/content/previews
88REMOTE_CMD =ssh $(VPS_USER ) @$(VPS_HOST )
9- SITE_URL ?= "https://$( SAFE_BRANCH ) .ep-preview.click "
9+ SITE_URL ?= "https://ep2025.europython.eu "
1010
1111# Variables for build/deploy
1212# ==========================
4747
4848preview : RELEASES_DIR = $(VPS_PREVIEW_PATH ) /$(SAFE_BRANCH ) /releases
4949preview : TARGET = $(RELEASES_DIR ) /$(TIMESTAMP )
50- preview :
50+ preview : SITE_URL = "https:// $( SAFE_BRANCH ) .ep-preview.click"
5151 @echo " Preview site URL: $( SITE_URL) "
5252 echo $(TARGET )
5353 @echo " \n\n**** Deploying preview of a branch '$( BRANCH) ' (safe: $( SAFE_BRANCH) ) to $( TARGET) ...\n\n"
You can’t perform that action at this time.
0 commit comments