Adjust encapsulation on ssh pre-seed step
Badgey Deployment / build (push) Successful in 6m6s Details
Badgey Deployment / deploy (push) Failing after 4s Details

This commit is contained in:
Xyon 2024-10-12 15:38:16 +01:00
parent a03c950eb3
commit 0b0958be39
Signed by: xyon
GPG Key ID: DD18155D6B18078D
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ jobs:
with: with:
name: badgey name: badgey
- name: Pre-seed known_hosts - 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 - uses: cschleiden/replace-tokens@v1.2
with: with:
files: config/production.badgey.json files: config/production.badgey.json