Skip to content

Commit c47e1c3

Browse files
oihiohj
1 parent 620583e commit c47e1c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/setup-ssh/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ runs:
1515
SSH_AUTH_SOCK: /tmp/ssh-auth.sock
1616
run: |
1717
mkdir -p ~/.ssh
18-
ssh-keyscan ${{ secrets.DEPLOY_DOCS_HOST }} >> ~/.ssh/known_hosts
19-
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
18+
ssh-keyscan ${{ inputs.remote }} >> ~/.ssh/known_hosts
19+
echo "${{ inputs.ssh-key }}" > ~/.ssh/id_ed25519
2020
chmod 0600 ~/.ssh/id_ed25519
2121
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
2222
ssh-add ~/.ssh/id_ed25519

0 commit comments

Comments
 (0)