Skip to content

Commit

Permalink
MO-850 migrate to a new server
Browse files Browse the repository at this point in the history
  • Loading branch information
bediverus authored Nov 10, 2023
1 parent 8f6600f commit 1e77a2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 1e77a2a

Please sign in to comment.