ci: attempt to add ssh known hosts

This commit is contained in:
Jakob Schnitzer 2021-09-18 12:59:24 +02:00
parent c1ad4d136e
commit 254aa8e8b9
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ jobs:
- name: Run tox to build site
if: github.event_name != 'push'
run: tox
- name: Add flow.srv.pocoo.org to ~/.ssh/known_hosts
if: github.event_name == 'push'
run: |
mkdir -p ~/.ssh/
echo "flow.srv.pocoo.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8X1nZnXChssjRoUMXWwz3IskVFaGvD9sRIMvlkU8RbLMqfp0kT+/hhi/c1xVv+wdGCrPTuFSs9X2RzdNsWSwaUqoeSh80BsfQRso3hSPd2Z+PNplHGuBt/29MwX2l+j1lWB7D2VFb7R1HGxwgmccef75JepVse7fCjVP3KvjIJ4nae0k9aHhcKLVUlRl+Ut+8pWCGE1wdoMEwpeio8DeBX7YWE1vX5DhAd0U+nga2xRAuWbQ5sD1LJQ1fmZoTBUKsVioQmuvrUQKSofwolwBgQtDqgcWLyeKfWn11aG6rMD3ZJHX0ltM91Gbynu10+xN5i7j6TdNQyE9CfO+Xz7Gv" > ~/.ssh/known_hosts
- name: Run tox to build site and deploy
if: github.event_name == 'push'
env: