mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
fix: correct workflow name and improve devnet deployment process
This commit is contained in:
parent
9908669be0
commit
6f5b079f51
16
.github/workflows/deploy-net.yml
vendored
16
.github/workflows/deploy-net.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user