Skip to content

Commit

Permalink
update node to optional input
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikey authored Dec 1, 2021
1 parent 284175a commit b39091c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ inputs:
description: "sdl file to target for deployment"
required: false
default: "deploy.yml"
AKASH_NODE: # id of input
description: "rpc node to use for commands"
required: false
default: "http://135.181.181.121:28957"
runs:
using: "composite"
steps:
Expand All @@ -21,7 +25,7 @@ runs:
AKASH_HOME: /home/runner/.akash
run: |-
unset AKASH_GAS
akash tx deployment update ${{inputs.SDL_PATH}} --dseq ${{inputs.AKASH_DSEQ}} --from AKASH_GITHUB_RUNNER --keyring-backend test --node http://135.181.181.120:28957 -y
akash tx deployment update ${{inputs.SDL_PATH}} --dseq ${{inputs.AKASH_DSEQ}} --from AKASH_GITHUB_RUNNER --keyring-backend test --node ${{inputs.AKASH_NODE}} -y
- name: Sleep before sending update
shell: bash
run: sleep 15s
Expand All @@ -30,4 +34,4 @@ runs:
env:
AKASH_HOME: /home/runner/.akash
run: |-
akash provider send-manifest ${{inputs.SDL_PATH}} --node http://135.181.181.120:28957 --from AKASH_GITHUB_RUNNER --provider ${{inputs.AKASH_PROVIDER}} --dseq ${{inputs.AKASH_DSEQ}}
akash provider send-manifest ${{inputs.SDL_PATH}} --node ${{inputs.AKASH_NODE}} --from AKASH_GITHUB_RUNNER --provider ${{inputs.AKASH_PROVIDER}} --dseq ${{inputs.AKASH_DSEQ}}

0 comments on commit b39091c

Please sign in to comment.