mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
feat: add CI workflow for deploying network
This commit is contained in:
parent
7806c07381
commit
553cff37a1
21
.github/workflows/deploy-net.yml
vendored
Normal file
21
.github/workflows/deploy-net.yml
vendored
Normal 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
|
@ -11,8 +11,8 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"GOPATH": "$HOME/go",
|
"GOPATH": "$HOME/go",
|
||||||
"PATH": "./build:$HOME/go/bin:$PATH",
|
"PATH": "./build:$HOME/go/bin:$PATH",
|
||||||
"CHAIN_ID": "sonr-testnet-1",
|
"CHAIN_ID": "local-1",
|
||||||
"DENOM": "usnr",
|
"DENOM": "stake",
|
||||||
"KEYRING": "test",
|
"KEYRING": "test",
|
||||||
"MONIKER": "florence",
|
"MONIKER": "florence",
|
||||||
"BINARY": "sonrd",
|
"BINARY": "sonrd",
|
||||||
@ -24,6 +24,7 @@
|
|||||||
"ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)",
|
"ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)",
|
||||||
"TURNSTILE_SITE_KEY": "$(skate get TURNSTILE_SITE_KEY)",
|
"TURNSTILE_SITE_KEY": "$(skate get TURNSTILE_SITE_KEY)",
|
||||||
"PC_NO_SERVER": "true",
|
"PC_NO_SERVER": "true",
|
||||||
|
"PC_PORT_NUM": "42069",
|
||||||
"PC_LOG_FILE": "./sonr.log"
|
"PC_LOG_FILE": "./sonr.log"
|
||||||
},
|
},
|
||||||
"shell": {
|
"shell": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user