We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eabac3f commit 30cceaaCopy full SHA for 30cceaa
1 file changed
.github/workflows/deploy.yml
@@ -37,7 +37,17 @@ jobs:
37
SSH_PATH="$HOME/.ssh"
38
mkdir -p "$SSH_PATH"
39
touch "$SSH_PATH/known_hosts"
40
+
41
echo "$PRIVATE_KEY" > "$SSH_PATH/id_rsa"
42
43
+ echo "--- Debug: key file size ---"
44
+ wc -c "$SSH_PATH/id_rsa"
45
+ echo "--- Debug: first/last lines ---"
46
+ head -1 "$SSH_PATH/id_rsa"
47
+ tail -1 "$SSH_PATH/id_rsa"
48
+ echo "--- Debug: file type ---"
49
+ file "$SSH_PATH/id_rsa"
50
51
chmod 700 "$SSH_PATH"
52
ssh-keyscan github.com >> ~/.ssh/known_hosts
53
chmod 600 "$SSH_PATH/known_hosts"
0 commit comments