Skip to content

Commit

Permalink
feat: try without adding a SSH key
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Jan 15, 2022
1 parent 3cf2532 commit e1725c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env bash

eval $(ssh-agent -s)
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null

# Copy known hosts into the SSH config.
mkdir -p ~/.ssh && chmod 0700 ~/.ssh
cat ${GITHUB_ACTION_PATH}/known_hosts >> ~/.ssh/known_hosts
Expand Down

0 comments on commit e1725c0

Please sign in to comment.