Merge pull request 'Accept ssh-key as raw PEM, drop base64 requirement' (#1) from fix/raw-key-no-base64 into main
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
+2
-2
@@ -38,8 +38,8 @@ runs:
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
|
||||
# 2. Decode the Base64 secret back into a properly formatted file
|
||||
echo "$SSH_KEY" | base64 --decode > ~/.ssh/gitea_key
|
||||
# 2. Write the private key to a file as-is
|
||||
printf '%s\n' "$SSH_KEY" > ~/.ssh/gitea_key
|
||||
chmod 600 ~/.ssh/gitea_key
|
||||
|
||||
# 3. Configure SSH for the custom port and bypass host key prompt
|
||||
|
||||
Reference in New Issue
Block a user