Skip to content

Commit

Permalink
Fix variables in setup-ssh GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpugh authored Feb 29, 2024
1 parent f7121bc commit 0a18f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scaffold/github/actions/common/setup-ssh/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ runs:
chmod 700 ~/.ssh
touch ~/.ssh/config
chmod 600 ~/.ssh/config
if [ "{{ inputs.ssh-known-hosts}}" != "" ]; then
echo "$ {{ inputs.ssh-known-hosts }}" >> ~/.ssh/known_hosts
if [ "${{ inputs.ssh-known-hosts}}" != "" ]; then
echo "${{ inputs.ssh-known-hosts }}" >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
fi
shell: bash

0 comments on commit 0a18f49

Please sign in to comment.