From 6f5b079f510fd40177044a951c7c16ba505eb1d8 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 11 Dec 2024 16:02:56 -0500 Subject: [PATCH] fix: correct workflow name and improve devnet deployment process --- .github/workflows/deploy-net.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-net.yml b/.github/workflows/deploy-net.yml index e988f0a06..7716de315 100644 --- a/.github/workflows/deploy-net.yml +++ b/.github/workflows/deploy-net.yml @@ -1,4 +1,4 @@ -name: Deploy Network +name: Deploy Networks on: workflow_dispatch: push: @@ -13,13 +13,15 @@ permissions: issues: write jobs: - devnet_restart: - name: Restart Devnet + reboot-devnet: + name: Devnet Deploy runs-on: goliath environment: "Devnet" steps: - # Run `git checkout` - - uses: actions/checkout@v3 - - name: Restart Devnet + - name: Stop Devnet + continue-on-error: true run: | - make restart + cd ~/ghq/github.com/onsonr/sonr && make stop + - name: Start Devnet + run: | + cd ~/ghq/github.com/onsonr/sonr && make start