From 649a223b8e06e610be271c14d4dd0fbca57a4fa9 Mon Sep 17 00:00:00 2001 From: Mohd Ahsan Date: Wed, 1 Jan 2025 21:06:07 +0530 Subject: [PATCH] Update yugabyte-db.yml --- .github/workflows/yugabyte-db.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/yugabyte-db.yml b/.github/workflows/yugabyte-db.yml index efb43df..7c4cff9 100644 --- a/.github/workflows/yugabyte-db.yml +++ b/.github/workflows/yugabyte-db.yml @@ -21,8 +21,10 @@ jobs: - name: Deploy yugabyte db run: | - ssh -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }} bash -c " + ssh -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }} << 'EOF' # Deploy yugabyte container with the ACL file + docker pull yugabytedb/yugabyte:latest + sudo docker stop yugabyte-db || true && sudo docker rm yugabyte-db || true && docker run -d --name yugabyte-db \ -p7000:7000 -p9000:9000 -p15433:15433 -p5433:5433 -p9042:9042 \ @@ -31,4 +33,4 @@ jobs: yugabytedb/yugabyte:latest bin/yugabyted start \ --base_dir=/home/yugabyte/yb_data \ --background=false --ysql_enable_auth=true - " + EOF