mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
ci: improve devnet deployment workflow by adding conditional restart
This commit is contained in:
parent
737565344d
commit
97cc6a0d21
4
.github/workflows/deploy-net.yml
vendored
4
.github/workflows/deploy-net.yml
vendored
@ -13,9 +13,13 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
devnet_restart:
|
devnet_restart:
|
||||||
|
if: github.ref == 'refs/heads/develop || github.ref == 'refs/heads/feature/*'
|
||||||
name: Restart Devnet
|
name: Restart Devnet
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: "Devnet"
|
environment: "Devnet"
|
||||||
steps:
|
steps:
|
||||||
# Run `git checkout`
|
# Run `git checkout`
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: Restart Devnet
|
||||||
|
run: |
|
||||||
|
make restart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user