Skip to content

Commit 55b73c3

Browse files
authored
Merge pull request #152 from AndrewCS149/dockerize
Fix workflow
2 parents abb1350 + 3362967 commit 55b73c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/staging.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
sudo chmod 600 ${{ secrets.SSH_PRIVATE_KEY_PATH }}/${{ secrets.SSH_PRIVATE_KEY_NAME }}
4141
shell: bash
4242

43+
- name: Add Host Key to known_hosts
44+
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ${{ secrets.SSH_PRIVATE_KEY_PATH }}/known_hosts
45+
4346
- name: Create Project Folders
4447
run: |
4548
ssh -i ${{ secrets.SSH_PRIVATE_KEY_PATH }}/${{ secrets.SSH_PRIVATE_KEY_NAME }} ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} \

0 commit comments

Comments
 (0)