Skip to content

Commit

Permalink
deal with pantheon ssh host keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Sep 22, 2023
1 parent 8bd581a commit 9ad1462
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ jobs:
terminus --version
- name: Install Composer Dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Validate Pantheon Host Key
run: |
ssh-keyscan -t rsa drush.in >> ~/.ssh/known_hosts
echo "Host *.drush.in HostKeyAlgorithms +ssh-rsa" >> ~/.ssh/config
echo "Host *.drush.in PubkeyAcceptedKeyTypes +ssh-rsa" >> ~/.ssh/config
echo "StrictHostKeyChecking no" >> ~/.ssh/config
- name: Log into Terminus, Create Multidev and Clone Site
run: |
terminus auth:login --machine-token=${{ secrets.TERMINUS_TOKEN }}
Expand Down

0 comments on commit 9ad1462

Please sign in to comment.