From 6b50bb9b26790052f6a8040f5bebdf031ae13071 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 18 Dec 2023 20:36:42 +0530 Subject: [PATCH] Update push-dappbundle.yml --- .github/workflows/push-dappbundle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push-dappbundle.yml b/.github/workflows/push-dappbundle.yml index 62646a2..5b582fe 100644 --- a/.github/workflows/push-dappbundle.yml +++ b/.github/workflows/push-dappbundle.yml @@ -20,6 +20,8 @@ jobs: cd ${{ secrets.DEPLOYMENT_LOCATION}}/ && git clone https://github.com/ranchimall/dappbundle.git fi + git pull + if [ -d "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" ]; then echo "Repository exists. Remove folder " rm -r "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}"