Skip to content

Commit

Permalink
Fix 'Deploy nodes' workflow. (#1538)
Browse files Browse the repository at this point in the history
* Fix 'Deploy nodes' workflow.

* Fix 'concurrency' groups for deploy workflows.
  • Loading branch information
nickeskov authored Nov 8, 2024
1 parent 36f68fd commit a51934f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ on:
description: "Deployment server user"

concurrency:
group: ${{ github.workflow }}-${{ github.event.inputs.network }}-${{ github.event.inputs.arch }}
group: deploy-node-${{ inputs.network }}-${{ inputs.arch }} # run only one deployment at a time for the same network and architecture
cancel-in-progress: false # don't cancel the previous deployment if a new one is triggered

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
network: [ stagenet, testnet, mainnet ]
arch: [ "${{ github.event.inputs.arch }}" ]
uses: "./.github/workflows/deploy_node_to.yml"
arch: [ "${{ inputs.arch }}" ]
uses: "./.github/workflows/deploy_node.yml"
with:
network: ${{ matrix.network }}
arch: ${{ matrix.arch }}

0 comments on commit a51934f

Please sign in to comment.