ci(deploy): work without having key files

This commit is contained in:
Tine 2024-02-18 22:42:47 +01:00
parent 1221f524d5
commit 08e19be859
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -4,8 +4,8 @@ set shell := ["devbox", "run"]
set dotenv-load set dotenv-load
# Load public and private keys # Load public and private keys
export JWT_PRIVATE_KEY := `cat jwt.private.pem` export JWT_PRIVATE_KEY := `cat jwt.private.pem || echo ""`
export JWT_PUBLIC_KEY := `cat jwt.public.pem` export JWT_PUBLIC_KEY := `cat jwt.public.pem || echo ""`
GIT_SHA := `git rev-parse --short HEAD` GIT_SHA := `git rev-parse --short HEAD`
DOCKER_IMAGE := "ghcr.io/mentos1386/zdravko:sha-"+GIT_SHA DOCKER_IMAGE := "ghcr.io/mentos1386/zdravko:sha-"+GIT_SHA