feat: add CI workflow for deploying network

This commit is contained in:
Prad Nukala 2024-12-09 13:37:55 -05:00
parent 7806c07381
commit 553cff37a1
2 changed files with 24 additions and 2 deletions

21
.github/workflows/deploy-net.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Deploy Network
on:
push:
tags:
- "v*"
branches:
- develop
- feature/*
permissions:
contents: write
issues: write
jobs:
devnet_restart:
name: Restart Devnet
runs-on: ubuntu-latest
environment: "Devnet"
steps:
# Run `git checkout`
- uses: actions/checkout@v3

View File

@ -11,8 +11,8 @@
"env": {
"GOPATH": "$HOME/go",
"PATH": "./build:$HOME/go/bin:$PATH",
"CHAIN_ID": "sonr-testnet-1",
"DENOM": "usnr",
"CHAIN_ID": "local-1",
"DENOM": "stake",
"KEYRING": "test",
"MONIKER": "florence",
"BINARY": "sonrd",
@ -24,6 +24,7 @@
"ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)",
"TURNSTILE_SITE_KEY": "$(skate get TURNSTILE_SITE_KEY)",
"PC_NO_SERVER": "true",
"PC_PORT_NUM": "42069",
"PC_LOG_FILE": "./sonr.log"
},
"shell": {