fix: Deployment SSH keys
Some checks failed
Deploy / Prepare Build (push) Failing after 15s

This commit is contained in:
Matthew McKinnon 2024-10-28 22:01:20 +10:00
parent 6409b8e66f
commit dd7d338c1c

View File

@ -20,13 +20,14 @@ jobs:
# python3 -m pip install --user ansible --break-system-packages
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
- name: Deploy containers
run: |
echo "${{ secrets.SSH_KNOWN_HOSTS }}"
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts