From e0c8f9ee7a8c0f802e14db8a59512e87a5b22181 Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Mon, 18 Dec 2023 20:19:38 +0530 Subject: [PATCH] Cleaning all git data in workflow --- .github/workflows/push-dappbundle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-dappbundle.yml b/.github/workflows/push-dappbundle.yml index 0bcc6fc..10697e3 100644 --- a/.github/workflows/push-dappbundle.yml +++ b/.github/workflows/push-dappbundle.yml @@ -28,5 +28,5 @@ jobs: echo "Cloning repository..." cd ${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle && git clone https://github.com/ranchimall/${{ github.event.repository.name }} - cd "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" && rm -r .gitattributes - cd ${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/ && git add . && git commit -m "Workflow updating files of ${{ github.event.repository.name }}" && git push "https://ranchimalldev:${{ secrets.RM_ACCESS_TOKEN }}@github.com/ranchimall/dappbundle.git" \ No newline at end of file + cd "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" && rm -rf .gitattributes .git .github .gitignore + cd ${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/ && git add . && git commit -m "Workflow updating files of ${{ github.event.repository.name }}" && git push "https://ranchimalldev:${{ secrets.RM_ACCESS_TOKEN }}@github.com/ranchimall/dappbundle.git"