Skip to content

Commit

Permalink
Fix central ssh host for testing deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Sanchez committed Aug 27, 2024
1 parent e49121b commit 41eb620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/central-europe-testing-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Create ssh private key file from env var
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
SSH_HOST: ${{ vars.TS_CENTRAL_HOST }}
SSH_HOST: ${{ vars.TS_CENTRAL_TESTING_HOST }}
run: |
set -ex
mkdir -p ~/.ssh/
Expand All @@ -34,14 +34,14 @@ jobs:
- name: Copy deploy script
env:
SSH_USERNAME: ${{ vars.SSH_USERNAME }}
SSH_HOST: ${{ vars.TS_CENTRAL_HOST }}
SSH_HOST: ${{ vars.TS_CENTRAL_TESTING_HOST }}
run: |
set -ex
rsync -avz --mkpath devops/deploy.sh ${SSH_USERNAME}@${SSH_HOST}:/home/${SSH_USERNAME}/deploy-script/
- name: Execute deploy script
env:
SSH_HOST: ${{ vars.TS_CENTRAL_HOST }}
SSH_HOST: ${{ vars.TS_CENTRAL_TESTING_HOST }}
SSH_USERNAME: ${{ vars.SSH_USERNAME }}
MIX_ENV: ${{ vars.MIX_ENV }}
RELEASE: central_backend
Expand Down

0 comments on commit 41eb620

Please sign in to comment.