mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
35 lines
595 B
YAML
35 lines
595 B
YAML
name: Deploy Networks
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
branches:
|
|
- develop
|
|
|
|
permissions:
|
|
contents: write
|
|
issues: write
|
|
|
|
jobs:
|
|
reboot-devnet:
|
|
name: Devnet Deploy
|
|
runs-on: goliath
|
|
environment: "Devnet"
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
branch: develop
|
|
|
|
- name: Stop Existing Network
|
|
continue-on-error: true
|
|
run: |
|
|
make stop-uds
|
|
make clean
|
|
|
|
- name: Start Updated Network
|
|
run: |
|
|
make start-uds
|