This commit is contained in:
Dragan Filipovic 2022-12-30 16:01:47 +01:00
parent 4d8753359e
commit 0f6376161f

View File

@ -25,8 +25,8 @@ jobs:
echo $HOME echo $HOME
ls -la $HOME ls -la $HOME
ssh-keygen -m PEM -t rsa -b 4096 -f "$HOME/.ssh/id_rsa" -N "" ssh-keygen -m PEM -t rsa -b 4096 -f "$HOME/.ssh/id_rsa" -N ""
# ssh-add "$HOME/.ssh/id_rsa" ssh-add "$HOME/.ssh/id_rsa"
# ssh-add -l ssh-add -l
echo "EXAMPLE_SSH_PRIVATE_KEY<<EOF" >> $GITHUB_ENV echo "EXAMPLE_SSH_PRIVATE_KEY<<EOF" >> $GITHUB_ENV
cat $HOME/.ssh/id_rsa >> $GITHUB_ENV cat $HOME/.ssh/id_rsa >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV