setup known_hosts for ssh-keyscan
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 7s

This commit is contained in:
shockrah 2024-09-05 21:28:34 -07:00
parent 88acf5221a
commit ef22fd9b83

View File

@ -17,6 +17,8 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build website content - name: Build website content
run: hugo run: hugo
- name: Setup the hostname with the private key that we have
run: mkdir -p ~/.ssh/ && ssh-keyscan git.shockrah.xyz >> ~/.ssh/known_hosts
- name: Setup SSH to copy files up to remote webserver - name: Setup SSH to copy files up to remote webserver
uses: webfactory/ssh-agent@v0.9.0 uses: webfactory/ssh-agent@v0.9.0
with: with: