Skip to content

Commit

Permalink
Added ssh key, known hosts, and git config.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegl committed Feb 21, 2025
1 parent f888b62 commit 97d1e94
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/acquia-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
container:
image: pookmish/drupal8ci:php8.3
steps:
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: fail
- uses: actions/checkout@v4
- name: Restore Cache
uses: actions/cache@v4
Expand All @@ -31,6 +38,10 @@ jobs:
ACQUIA_KEY: ${{ secrets.ACQUIA_KEY }}
ACQUIA_SECRET: ${{ secrets.ACQUIA_SECRET }}
run: |
git config --system --add safe.directory '*' &&
git config --global user.email "sws-developers@lists.stanford.edu" &&
git config --global user.name "Github Actions" &&
ssh-keyscan -t rsa svn-23450.prod.hosting.acquia.com >> /root/.ssh/known_hosts &&
composer install -n &&
blt blt:telemetry:disable --no-interaction &&
blt humsci:clean-backups &&
Expand Down

0 comments on commit 97d1e94

Please sign in to comment.