Skip to content

Commit c66cd7f

Browse files
committed
add to known_hosts
1 parent 4b05573 commit c66cd7f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
with:
3434
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
3535

36+
- name: Add remote host to known_hosts
37+
run: |
38+
mkdir -p ~/.ssh
39+
echo "trinity.hacklab.fi ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEbuUzPWSkuCC/iAE2KgxnCO22+9MLdTfTGLiVFOC6gm" >> ~/.ssh/known_hosts
40+
3641
- name: Deploy to server via rsync
3742
run: |
3843
rsync -avz --delete _site/ [email protected]:/var/www/hacklab.fi/

0 commit comments

Comments
 (0)