Skip to content

Commit

Permalink
Merge pull request #12 from LL08-MathematicalModelling-dowell/DOCKERI…
Browse files Browse the repository at this point in the history
…ZED_V2

Improved github action comamands
  • Loading branch information
Goldeno10 authored Oct 15, 2024
2 parents ad0bc27 + 2ddd003 commit 85eecdd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,18 @@ jobs:
- name: Cleanup SSH Directory
run: rm -rf ~/.ssh

# - name: Install SSH Key
# uses: shimataro/[email protected]
# with:
# key: ${{ secrets.SSH_PRIVATE_KEY }}
# # known_hosts: "just-a-placeholder-so-we-dont-get-errors"
# known_hosts: ${{ secrets.SSH_HOST }}

- name: Install SSH Key
uses: shimataro/[email protected]
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
# known_hosts: "just-a-placeholder-so-we-dont-get-errors"
known_hosts: ${{ secrets.SSH_HOST }}
strict: false

- name: Adding Known Hosts
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
Expand Down

0 comments on commit 85eecdd

Please sign in to comment.