From 1e77a2a197124c94a657242db6065533e80ac22a Mon Sep 17 00:00:00 2001 From: Denis Dudko <130506837+bediverus@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:07:49 +0600 Subject: [PATCH] MO-850 migrate to a new server --- .github/workflows/CI-CD-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI-CD-pipeline.yml b/.github/workflows/CI-CD-pipeline.yml index e72df05..0f2634b 100644 --- a/.github/workflows/CI-CD-pipeline.yml +++ b/.github/workflows/CI-CD-pipeline.yml @@ -54,7 +54,7 @@ jobs: key: ${{ secrets.SSH_PRIVATE_KEY }} port: ${{ secrets.REMOTE_SSH_PORT }} source: "docker-compose.yml,.env" - target: "/opt/docker/steven-signal-landing" + target: "/opt/docker/btp-landing" - name: Deploy to remote server env: @@ -64,7 +64,7 @@ jobs: echo "$SSH_KEY" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh -o StrictHostKeyChecking=no -i "~/.ssh/id_ed25519" ${{ secrets.REMOTE_SERVER_USERNAME }}@${{ secrets.REMOTE_SERVER_HOSTNAME }} -p ${{ secrets.REMOTE_SSH_PORT }} ' - cd /opt/docker/steven-signal-landing + cd /opt/docker/btp-landing docker login ${{ env.REGISTRY }} -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} docker pull ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }} docker-compose up -d