deploy: add known_hosts

This commit is contained in:
notohh 2023-10-21 01:46:18 -04:00
parent 83a17b59e1
commit b4ffe56ccf
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -14,9 +14,11 @@ jobs:
run: |
mkdir -p .ssh && cd .ssh
echo "$SSH_KEY" > forgejo
echo "$SSH_KNOWN_HOSTS" > known_hosts
shell: bash
env:
SSH_KEY: ${{secrets.SSH_DEPLOY_KEY}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
- name: deploy
run: |
cd .ssh