show ssh key
This commit is contained in:
parent
cb1b425550
commit
c97551b0ee
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ SSH_KEY_FILE=/tmp/gitea-pages-ssh-key-$(date +%s)
|
||||||
echo "${INPUT_SSH_KEY}" >> "${SSH_KEY_FILE}"
|
echo "${INPUT_SSH_KEY}" >> "${SSH_KEY_FILE}"
|
||||||
chmod 600 "${SSH_KEY_FILE}"
|
chmod 600 "${SSH_KEY_FILE}"
|
||||||
|
|
||||||
|
cat "${SSH_KEY_FILE}"
|
||||||
|
|
||||||
# set up ssh remote key
|
# set up ssh remote key
|
||||||
echo "${INPUT_HOST} ${INPUT_HOST_KEY}" >> ~/.ssh/known_hosts
|
echo "${INPUT_HOST} ${INPUT_HOST_KEY}" >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue