From bc54383253343c32a856ebbc465f7f8a7243ffc2 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Mon, 6 Apr 2026 11:43:38 +0200 Subject: Use an .env file for the release URLs --- justfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index b694d2c..31e37da 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,5 @@ +set dotenv-load + # Configuration ################################################################ app_name := "map" channel := "unstable" @@ -21,10 +23,6 @@ appimage_container := "trixie" all_containers := f"arch {{fedora_versions}} {{debian_versions}}" container_image_prefix := "map-build" -# Distribution Hosts ----------------------------------------------------------- -distribution_host := "deploy@build.r.bdr.sh" -distribution_path := f"/srv/http/build.r.bdr.sh/{{app_name}}-linux" - # Build ######################################################################## # Setup the meson build directory. @@ -234,8 +232,8 @@ _sign file version platform: # Uploads a file and its signature. _upload file: - rsync -avz {{file}}.minisig {{distribution_host}}:{{distribution_path}} - rsync -avz {{file}} {{distribution_host}}:{{distribution_path}} + rsync -avz {{file}}.minisig $DISTRIBUTION_HOST:$DISTRIBUTION_PATH + rsync -avz {{file}} $DISTRIBUTION_HOST:$DISTRIBUTION_PATH # Sign and upload a file. _sign_and_upload file: (_sign file channel architecture) (_upload file) -- cgit