From dd7d338c1c4df1a549d893e4965bf5c2b8d2006b Mon Sep 17 00:00:00 2001 From: Matthew McKinnon Date: Mon, 28 Oct 2024 22:01:20 +1000 Subject: [PATCH] fix: Deployment SSH keys --- .gitea/workflows/deploy-containers.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy-containers.yml b/.gitea/workflows/deploy-containers.yml index 6b2a3d2..bbced7e 100644 --- a/.gitea/workflows/deploy-containers.yml +++ b/.gitea/workflows/deploy-containers.yml @@ -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