Update push-dappbundle.yml
This commit is contained in:
parent
6b50bb9b26
commit
e18ea55e6d
2
.github/workflows/push-dappbundle.yml
vendored
2
.github/workflows/push-dappbundle.yml
vendored
@ -20,8 +20,6 @@ jobs:
|
|||||||
cd ${{ secrets.DEPLOYMENT_LOCATION}}/ && git clone https://github.com/ranchimall/dappbundle.git
|
cd ${{ secrets.DEPLOYMENT_LOCATION}}/ && git clone https://github.com/ranchimall/dappbundle.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git pull
|
|
||||||
|
|
||||||
if [ -d "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" ]; then
|
if [ -d "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}" ]; then
|
||||||
echo "Repository exists. Remove folder "
|
echo "Repository exists. Remove folder "
|
||||||
rm -r "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}"
|
rm -r "${{ secrets.DEPLOYMENT_LOCATION}}/dappbundle/${{ github.event.repository.name }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user