From 0b0958be39a570e98abda79654f15175485222f1 Mon Sep 17 00:00:00 2001 From: Xyon Date: Sat, 12 Oct 2024 15:38:16 +0100 Subject: [PATCH] Adjust encapsulation on ssh pre-seed step --- .gitea/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index fff766e..a3e127a 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -36,7 +36,9 @@ jobs: with: name: badgey - name: Pre-seed known_hosts - run: mkdir -pv ~/.ssh && ssh-keyscan -t rsa "${{ vars[format('{0}_SERVER_HOSTNAME', 'BADGEY'] }}" >> ~/.ssh/known_hosts + run: mkdir -pv ~/.ssh && ssh-keyscan -t rsa $BOT_SERVER_HOSTNAME >> ~/.ssh/known_hosts + env: + BOT_SERVER_HOSTNAME: ${{ vars[format('{0}_SERVER_HOSTNAME', 'BADGEY'] }} - uses: cschleiden/replace-tokens@v1.2 with: files: config/production.badgey.json