fix: correct workflow name and improve devnet deployment process

This commit is contained in:
Prad Nukala 2024-12-11 16:02:56 -05:00
parent 9908669be0
commit 6f5b079f51

View File

@ -1,4 +1,4 @@
name: Deploy Network name: Deploy Networks
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
@ -13,13 +13,15 @@ permissions:
issues: write issues: write
jobs: jobs:
devnet_restart: reboot-devnet:
name: Restart Devnet name: Devnet Deploy
runs-on: goliath runs-on: goliath
environment: "Devnet" environment: "Devnet"
steps: steps:
# Run `git checkout` - name: Stop Devnet
- uses: actions/checkout@v3 continue-on-error: true
- name: Restart Devnet
run: | run: |
make restart cd ~/ghq/github.com/onsonr/sonr && make stop
- name: Start Devnet
run: |
cd ~/ghq/github.com/onsonr/sonr && make start