Skip to content

Commit

Permalink
feat: add CI workflow for deploying network
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Dec 9, 2024
1 parent 7806c07 commit 553cff3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy-net.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": {
Expand Down

0 comments on commit 553cff3

Please sign in to comment.