Skip to content

Commit 7003692

Browse files
Mother fu
1 parent d8fdf6a commit 7003692

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/update.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
- name: Send Webhook to Discord about updating Ruby
2727
run: |
2828
curl -X POST -H 'Content-type: application/json' --data '{"content":"Updating Ruby..."}' ${{ secrets.DISCORD_WEBHOOK }}
29+
- name: SSH Known hosts ignore
30+
run: |
31+
mkdir -p ~/.ssh
32+
touch ~/.ssh/known_hosts
33+
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
34+
echo "StrictHostKeyChecking no" >> ~/.ssh/config
2935
- name: Run Ansible Playbook
3036
run: |
3137
#we don't have ssh keys so we need to use the password

0 commit comments

Comments
 (0)