Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Apr 24, 2024
1 parent 39c0b6f commit 0f3d4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.AWS_PEM }}
HOST: ${{ secrets.AWS_HOST }}
run: |
echo $SSH_PRIVATE_KEY | ssh -i /dev/stdin "$HOST" "sh /data/services/restart_bioregistry.sh"
echo $SSH_PRIVATE_KEY | ssh -i /dev/stdin -o StrictHostKeyChecking=no "$HOST" "sh /data/services/restart_bioregistry.sh"
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
Expand Down

0 comments on commit 0f3d4fb

Please sign in to comment.