From dbd5648430004acac58aead5ca26e449b62455f1 Mon Sep 17 00:00:00 2001 From: fatemeh imanipour Date: Sun, 28 Jul 2024 14:56:08 +0330 Subject: [PATCH] Remove pulling dev branch in otc workflow --- .github/workflows/dev-otc.yml | 1 - .github/workflows/main-otc.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/dev-otc.yml b/.github/workflows/dev-otc.yml index 445bc47f1..b728877ae 100644 --- a/.github/workflows/dev-otc.yml +++ b/.github/workflows/dev-otc.yml @@ -144,7 +144,6 @@ jobs: sshpass -p $SERVER_PASSWORD ssh -o StrictHostKeyChecking=no "$SSH_USER"@"$SSH_HOST" -p "$SSH_PORT" " \ cd "$SSH_DIR"; \ -# git pull origin dev || true; \ curl https://raw.githubusercontent.com/opexdev/partners/main/"$ENV_PATH" -L -o .env -H 'Authorization:token $token' ; \ echo '$SERVER_PASSWORD' | sudo -S docker-compose -f docker-compose-otc.yml pull; \ echo '$SERVER_PASSWORD' | sudo -S docker network create --driver bridge otc-network || true; \ diff --git a/.github/workflows/main-otc.yml b/.github/workflows/main-otc.yml index 6b01c8bde..abe53f5dc 100644 --- a/.github/workflows/main-otc.yml +++ b/.github/workflows/main-otc.yml @@ -144,7 +144,6 @@ jobs: sshpass -p $SERVER_PASSWORD ssh -o StrictHostKeyChecking=no "$SSH_USER"@"$SSH_HOST" -p "$SSH_PORT" " \ cd "$SSH_DIR"; \ -# git pull origin main || true; \ curl https://raw.githubusercontent.com/opexdev/partners/main/"$ENV_PATH" -L -o .env -H 'Authorization:token $token' ; \ echo '$SERVER_PASSWORD' | sudo -S docker-compose -f docker-compose-otc.yml pull; \ echo '$SERVER_PASSWORD' | sudo -S docker network create --driver bridge otc-network || true; \