From 6074a8ed8e3955b213974e1ae46216a6e6191f1f Mon Sep 17 00:00:00 2001 From: BushraS-Protean Date: Tue, 20 May 2025 15:41:49 +0530 Subject: [PATCH] Update build-and-deploy-plugins.yml --- .github/workflows/build-and-deploy-plugins.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-deploy-plugins.yml b/.github/workflows/build-and-deploy-plugins.yml index 78de5fe..da3b2d1 100644 --- a/.github/workflows/build-and-deploy-plugins.yml +++ b/.github/workflows/build-and-deploy-plugins.yml @@ -15,18 +15,13 @@ jobs: - name: Checkout this repo uses: actions/checkout@v4 - - name: Set up Git - run: | - git config --global url."https://${{ secrets.PAT_GITHUB }}:@github.com/".insteadOf "https://github.com/" - git config --global url."https://${{ secrets.GERRIT_USERNAME }}:${{ secrets.GERRIT_PAT }}@open-networks.googlesource.com/".insteadOf "https://open-networks.googlesource.com/" - - name: Clone GitHub and Gerrit plugin repos run: | # Example GitHub clone - git clone -b beckn-onix-v1.0-develop https://github.com/beckn/beckn-onix.git github-repo + git clone -b beckn-onix-v1.0-develop https://${{ secrets.PAT_GITHUB }}:@github.com/beckn/beckn-onix.git github-repo # Example Gerrit clone - git clone https://open-networks.googlesource.com/onix-dev gerrit-repo + git clone https://${{ secrets.GERRIT_USERNAME }}:${{ secrets.GERRIT_PAT }}@open-networks.googlesource.com/onix-dev gerrit-repo - name: List directory structure run: |