From babab1e09e2bbe8379058cba4f9458b6ca39f1af Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 11 Dec 2024 16:18:58 -0500 Subject: [PATCH] ci(deploy): improve devnet deployment workflow --- .github/workflows/deploy-net.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-net.yml b/.github/workflows/deploy-net.yml index 7716de315..3dce38cc5 100644 --- a/.github/workflows/deploy-net.yml +++ b/.github/workflows/deploy-net.yml @@ -18,10 +18,19 @@ jobs: runs-on: goliath environment: "Devnet" steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Fetch latest changes + run: git fetch --prune --unshallow + - name: Stop Devnet continue-on-error: true run: | - cd ~/ghq/github.com/onsonr/sonr && make stop + make stop + - name: Start Devnet run: | - cd ~/ghq/github.com/onsonr/sonr && make start + make start