From 08e19be8599a04cda226f200c3ccab9f5f571883 Mon Sep 17 00:00:00 2001 From: Tine Date: Sun, 18 Feb 2024 22:42:47 +0100 Subject: [PATCH] ci(deploy): work without having key files --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 6e66fee..6452e1b 100644 --- a/justfile +++ b/justfile @@ -4,8 +4,8 @@ set shell := ["devbox", "run"] set dotenv-load # Load public and private keys -export JWT_PRIVATE_KEY := `cat jwt.private.pem` -export JWT_PUBLIC_KEY := `cat jwt.public.pem` +export JWT_PRIVATE_KEY := `cat jwt.private.pem || echo ""` +export JWT_PUBLIC_KEY := `cat jwt.public.pem || echo ""` GIT_SHA := `git rev-parse --short HEAD` DOCKER_IMAGE := "ghcr.io/mentos1386/zdravko:sha-"+GIT_SHA