Skip to content

Commit 059ee12

Browse files
authored
Add heroku.com to ssh known host
Without it, my build would be stuck on: ``` The authenticity of host 'heroku.com (50.xx.x.xx.xx)' can't be established. RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad. Are you sure you want to continue connecting (yes/no)? ```
1 parent be67f14 commit 059ee12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jekyll/_cci2/project-walkthrough.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,9 @@ Now, create a `setup-heroku.sh` file in the `.circleci` folder and add the follo
393393
login $HEROKU_LOGIN
394394
password $HEROKU_API_KEY
395395
EOF
396+
397+
# Add heroku.com to the list of known hosts
398+
ssh-keyscan -H heroku.com >> ~/.ssh/known_hosts
396399
```
397400
398401
**Make sure to replace `cci-demo-walkthrough` with your own app's name.**

0 commit comments

Comments
 (0)