deploy: add known_hosts
Some checks failed
deploy systems / deploy (push) Failing after 9m35s
flake check / check (push) Has been cancelled
fmt check / check (push) Has been cancelled

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: | run: |
mkdir -p .ssh && cd .ssh mkdir -p .ssh && cd .ssh
echo "$SSH_KEY" > forgejo echo "$SSH_KEY" > forgejo
echo "$SSH_KNOWN_HOSTS" > known_hosts
shell: bash shell: bash
env: env:
SSH_KEY: ${{secrets.SSH_DEPLOY_KEY}} SSH_KEY: ${{secrets.SSH_DEPLOY_KEY}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
- name: deploy - name: deploy
run: | run: |
cd .ssh cd .ssh