mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-22 19:02:18 +00:00
install SSH key
This commit is contained in:
parent
6fda9fb38f
commit
74e3ce9663
1 changed files with 6 additions and 4 deletions
10
.github/workflows/deploy-to-prod.yml
vendored
10
.github/workflows/deploy-to-prod.yml
vendored
|
@ -52,10 +52,12 @@ jobs:
|
|||
oauth-client-id: ${{ secrets.TS_API_CLIENT_ID }}
|
||||
oauth-secret: ${{ secrets.TS_API_CLIENT_SECRET }}
|
||||
tags: ${{ secrets.TS_TAG }}
|
||||
- name: Cache SSH known hosts
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
ssh-keyscan -H ${{ secrets.GMI_HOST }} >> ~/.ssh/known_hosts
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
|
||||
- name: Deploy GMI to Agate
|
||||
run: |
|
||||
which rsync
|
||||
|
|
Loading…
Reference in a new issue