From 0bab21cbdb617324dc759d52753151c03a7a4ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Ro=C5=BCnawski?= Date: Fri, 22 Mar 2024 17:34:24 +0100 Subject: [PATCH] Fix ips --- .github/workflows/sandbox_build_and_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sandbox_build_and_deploy.yml b/.github/workflows/sandbox_build_and_deploy.yml index 282e2463..df83e343 100644 --- a/.github/workflows/sandbox_build_and_deploy.yml +++ b/.github/workflows/sandbox_build_and_deploy.yml @@ -47,7 +47,7 @@ jobs: - name: Remove old containers on first host uses: JimCronqvist/action-ssh@master with: - hosts: ${{ secrets.STAGING_IP }} + hosts: ${{ secrets.SANDBOX_IP }} privateKey: ${{ secrets.SSH_PRIV_KEY }} command: | docker ps -aq | xargs -r docker stop | xargs -r docker rm @@ -55,7 +55,7 @@ jobs: - name: Deploy docker compose to a pre-configured server on first host uses: TapTap21/docker-remote-deployment-action@v1.1 with: - remote_docker_host: ${{ secrets.STAGING_IP }} + remote_docker_host: ${{ secrets.SANDBOX_IP }} ssh_private_key: ${{ secrets.SSH_PRIV_KEY }} ssh_public_key: ${{ secrets.SSH_PUB_KEY }} stack_file_name: ${{ env.COMPOSE_FILE_NAME }}