mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-22 05:12:17 +00:00
manually manage known_hosts
This commit is contained in:
parent
a1e46a9f6e
commit
81bf03e060
1 changed files with 5 additions and 6 deletions
11
.github/workflows/deploy-gemini.yml
vendored
11
.github/workflows/deploy-gemini.yml
vendored
|
@ -42,12 +42,11 @@ 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: Install SSH key
|
- name: Configure SSH known hosts
|
||||||
uses: shimataro/ssh-key-action@v2
|
run: |
|
||||||
with:
|
mkdir -p ~/.ssh
|
||||||
key: ${{ secrets.SSH_KEY }}
|
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
|
||||||
name: id_rsa
|
chmod 644 ~/.ssh/known_hosts
|
||||||
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
|
|
||||||
- name: Deploy GMI to Agate
|
- name: Deploy GMI to Agate
|
||||||
run: |
|
run: |
|
||||||
rsync -avz --delete -e ssh public/ deploy@${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}
|
rsync -avz --delete -e ssh public/ deploy@${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}
|
||||||
|
|
Loading…
Reference in a new issue