install SSH key

This commit is contained in:
John Bowdre 2024-02-27 19:42:48 -06:00
parent e1aa40dd88
commit 8d1f21d1f2

View file

@ -52,10 +52,12 @@ jobs:
oauth-client-id: ${{ secrets.TS_API_CLIENT_ID }} oauth-client-id: ${{ secrets.TS_API_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_API_CLIENT_SECRET }} oauth-secret: ${{ secrets.TS_API_CLIENT_SECRET }}
tags: ${{ secrets.TS_TAG }} tags: ${{ secrets.TS_TAG }}
- name: Cache SSH known hosts - name: Install SSH key
run: | uses: shimataro/ssh-key-action@v2
mkdir -p ~/.ssh with:
ssh-keyscan -H ${{ secrets.GMI_HOST }} >> ~/.ssh/known_hosts key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Deploy GMI to Agate - name: Deploy GMI to Agate
run: | run: |
which rsync which rsync