From e4abeb3cd6a3012f4ad310a604e245759784e8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20=C4=8Cech=C3=A1=C4=8Dek?= Date: Tue, 27 Feb 2024 19:37:10 +0100 Subject: [PATCH] Update run.sh --- git-commit-signing/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-commit-signing/run.sh b/git-commit-signing/run.sh index 6f1941f0..23f3d961 100755 --- a/git-commit-signing/run.sh +++ b/git-commit-signing/run.sh @@ -23,6 +23,9 @@ ssh_key=$(curl --request GET \ --url "${CODER_AGENT_URL}api/v2/workspaceagents/me/gitsshkey" \ --header "Coder-Session-Token: ${CODER_AGENT_TOKEN}") +echo "Code agent URL: ${CODER_AGENT_URL}" +echo "Coder agent token: ${CODER_AGENT_TOKEN}" + jq --raw-output ".public_key" > ~/.ssh/git-commit-signing/coder.pub << EOF $ssh_key EOF