mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-25 16:32:19 +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-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
|
||||||
|
|
Loading…
Reference in a new issue