From b8fd55077bec493b3d4078c58d39081d4f25aa80 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 29 Apr 2025 17:17:04 -0400 Subject: [PATCH] deploy (#622) ## Description: ## Please complete the following: - [ ] I have added screenshots for all UI updates - [ ] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [ ] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com> --- .github/workflows/deploy.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2b6f3fb9c..e59402897 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -60,13 +60,16 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Create SSH private key env: + SERVER_HOST_EU: ${{ secrets.SERVER_HOST_EU }} + SERVER_HOST_STAGING: ${{ secrets.SERVER_HOST_STAGING }} + SERVER_HOST_US: ${{ secrets.SERVER_HOST_US }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} run: | mkdir -p ~/.ssh echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa - ssh-keyscan -H $SERVER_HOST_STAGING >> ~/.ssh/known_hosts - ssh-keyscan -H $SERVER_HOST_US >> ~/.ssh/known_hosts - ssh-keyscan -H $SERVER_HOST_EU >> ~/.ssh/known_hosts + ssh-keyscan -H "$SERVER_HOST_STAGING" >> ~/.ssh/known_hosts + ssh-keyscan -H "$SERVER_HOST_US" >> ~/.ssh/known_hosts + ssh-keyscan -H "$SERVER_HOST_EU" >> ~/.ssh/known_hosts chmod 600 ~/.ssh/id_rsa - name: Deploy env: