Skip to content

Commit

Permalink
Undo SSH configure workflow change (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
frewmack authored Apr 17, 2024
1 parent c597d0f commit 5621d05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ jobs:
SSH_AGENT_EVAL=$(ssh-agent -s)
eval "$SSH_AGENT_EVAL"
ssh-add - <<< "${{ secrets.DEPLOY_PRIVATE_KEY }}"
echo "ssh-agent-eval=$SSH_AGENT_EVAL" >> "$GITHUB_OUTPUT"
echo "ssh-agent-pid=$SSH_AGENT_PID" >> "$GITHUB_OUTPUT"
echo "::set-output name=ssh-agent-eval::$SSH_AGENT_EVAL"
echo "::set-output name=ssh-agent-pid::$SSH_AGENT_PID"
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_HOST_KEY }}" > ~/.ssh/known_hosts
chmod -R g-rwx,o-rwx ~/.ssh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ jobs:
SSH_AGENT_EVAL=$(ssh-agent -s)
eval "$SSH_AGENT_EVAL"
ssh-add - <<< "${{ secrets.DEPLOY_PRIVATE_KEY }}"
echo "ssh-agent-eval=$SSH_AGENT_EVAL" >> "$GITHUB_OUTPUT"
echo "ssh-agent-pid=$SSH_AGENT_PID" >> "$GITHUB_OUTPUT"
echo "::set-output name=ssh-agent-eval::$SSH_AGENT_EVAL"
echo "::set-output name=ssh-agent-pid::$SSH_AGENT_PID"
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_HOST_KEY }}" > ~/.ssh/known_hosts
chmod -R g-rwx,o-rwx ~/.ssh
Expand Down

0 comments on commit 5621d05

Please sign in to comment.