We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 620583e commit c47e1c3Copy full SHA for c47e1c3
.github/actions/setup-ssh/action.yml
@@ -15,8 +15,8 @@ runs:
15
SSH_AUTH_SOCK: /tmp/ssh-auth.sock
16
run: |
17
mkdir -p ~/.ssh
18
- ssh-keyscan ${{ secrets.DEPLOY_DOCS_HOST }} >> ~/.ssh/known_hosts
19
- echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
+ ssh-keyscan ${{ inputs.remote }} >> ~/.ssh/known_hosts
+ echo "${{ inputs.ssh-key }}" > ~/.ssh/id_ed25519
20
chmod 0600 ~/.ssh/id_ed25519
21
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
22
ssh-add ~/.ssh/id_ed25519
0 commit comments